# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/apps/script/type/calendar/calendar_addon_manifest_pb' require 'google/apps/script/type/docs/docs_addon_manifest_pb' require 'google/apps/script/type/drive/drive_addon_manifest_pb' require 'google/apps/script/type/gmail/gmail_addon_manifest_pb' require 'google/apps/script/type/script_manifest_pb' require 'google/apps/script/type/sheets/sheets_addon_manifest_pb' require 'google/apps/script/type/slides/slides_addon_manifest_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/wrappers_pb' descriptor_data = "\n/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto\x12\x1cgoogle.cloud.gsuiteaddons.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/apps/script/type/calendar/calendar_addon_manifest.proto\x1a\x36google/apps/script/type/docs/docs_addon_manifest.proto\x1a\x38google/apps/script/type/drive/drive_addon_manifest.proto\x1a\x38google/apps/script/type/gmail/gmail_addon_manifest.proto\x1a-google/apps/script/type/script_manifest.proto\x1a:google/apps/script/type/sheets/sheets_addon_manifest.proto\x1a:google/apps/script/type/slides/slides_addon_manifest.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/wrappers.proto\"[\n\x17GetAuthorizationRequest\x12@\n\x04name\x18\x02 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)gsuiteaddons.googleapis.com/Authorization\"\xa7\x01\n\rAuthorization\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1d\n\x15service_account_email\x18\x02 \x01(\t\x12\x17\n\x0foauth_client_id\x18\x03 \x01(\t:P\xea\x41M\n)gsuiteaddons.googleapis.com/Authorization\x12 projects/{project}/authorization\"\xc0\x01\n\x17\x43reateDeploymentRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x1b\n\rdeployment_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x42\n\ndeployment\x18\x03 \x01(\x0b\x32(.google.cloud.gsuiteaddons.v1.DeploymentB\x04\xe2\x41\x01\x02\"^\n\x18ReplaceDeploymentRequest\x12\x42\n\ndeployment\x18\x02 \x01(\x0b\x32(.google.cloud.gsuiteaddons.v1.DeploymentB\x04\xe2\x41\x01\x02\"U\n\x14GetDeploymentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&gsuiteaddons.googleapis.com/Deployment\"\x85\x01\n\x16ListDeploymentsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x17ListDeploymentsResponse\x12=\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32(.google.cloud.gsuiteaddons.v1.Deployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"f\n\x17\x44\x65leteDeploymentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&gsuiteaddons.googleapis.com/Deployment\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\"Y\n\x18InstallDeploymentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&gsuiteaddons.googleapis.com/Deployment\"[\n\x1aUninstallDeploymentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&gsuiteaddons.googleapis.com/Deployment\"[\n\x17GetInstallStatusRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)gsuiteaddons.googleapis.com/InstallStatus\"\xb7\x01\n\rInstallStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12-\n\tinstalled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue:i\xea\x41\x66\n)gsuiteaddons.googleapis.com/InstallStatus\x12\x39projects/{project}/deployments/{deployment}/installStatus\"\xcf\x01\n\nDeployment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0coauth_scopes\x18\x02 \x03(\t\x12\x35\n\x07\x61\x64\x64_ons\x18\x03 \x01(\x0b\x32$.google.cloud.gsuiteaddons.v1.AddOns\x12\x0c\n\x04\x65tag\x18\x05 \x01(\t:X\xea\x41U\n&gsuiteaddons.googleapis.com/Deployment\x12+projects/{project}/deployments/{deployment}\"\x9a\x04\n\x06\x41\x64\x64Ons\x12<\n\x06\x63ommon\x18\x01 \x01(\x0b\x32,.google.apps.script.type.CommonAddOnManifest\x12@\n\x05gmail\x18\x02 \x01(\x0b\x32\x31.google.apps.script.type.gmail.GmailAddOnManifest\x12@\n\x05\x64rive\x18\x05 \x01(\x0b\x32\x31.google.apps.script.type.drive.DriveAddOnManifest\x12I\n\x08\x63\x61lendar\x18\x06 \x01(\x0b\x32\x37.google.apps.script.type.calendar.CalendarAddOnManifest\x12=\n\x04\x64ocs\x18\x07 \x01(\x0b\x32/.google.apps.script.type.docs.DocsAddOnManifest\x12\x43\n\x06sheets\x18\x08 \x01(\x0b\x32\x33.google.apps.script.type.sheets.SheetsAddOnManifest\x12\x43\n\x06slides\x18\n \x01(\x0b\x32\x33.google.apps.script.type.slides.SlidesAddOnManifest\x12:\n\x0chttp_options\x18\x0f \x01(\x0b\x32$.google.apps.script.type.HttpOptions2\xa4\r\n\x0cGSuiteAddOns\x12\xaa\x01\n\x10GetAuthorization\x12\x35.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest\x1a+.google.cloud.gsuiteaddons.v1.Authorization\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v1/{name=projects/*/authorization}\x12\xce\x01\n\x10\x43reateDeployment\x12\x35.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest\x1a(.google.cloud.gsuiteaddons.v1.Deployment\"Y\xda\x41\x1fparent,deployment,deployment_id\x82\xd3\xe4\x93\x02\x31\"#/v1/{parent=projects/*}/deployments:\ndeployment\x12\xc6\x01\n\x11ReplaceDeployment\x12\x36.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest\x1a(.google.cloud.gsuiteaddons.v1.Deployment\"O\xda\x41\ndeployment\x82\xd3\xe4\x93\x02<\x1a./v1/{deployment.name=projects/*/deployments/*}:\ndeployment\x12\xa1\x01\n\rGetDeployment\x12\x32.google.cloud.gsuiteaddons.v1.GetDeploymentRequest\x1a(.google.cloud.gsuiteaddons.v1.Deployment\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v1/{name=projects/*/deployments/*}\x12\xb4\x01\n\x0fListDeployments\x12\x34.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest\x1a\x35.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse\"4\xda\x41\x06parent\x82\xd3\xe4\x93\x02%\x12#/v1/{parent=projects/*}/deployments\x12\x95\x01\n\x10\x44\x65leteDeployment\x12\x35.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest\x1a\x16.google.protobuf.Empty\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%*#/v1/{name=projects/*/deployments/*}\x12\xa2\x01\n\x11InstallDeployment\x12\x36.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\"+/v1/{name=projects/*/deployments/*}:install:\x01*\x12\xa8\x01\n\x13UninstallDeployment\x12\x38.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest\x1a\x16.google.protobuf.Empty\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\"-/v1/{name=projects/*/deployments/*}:uninstall:\x01*\x12\xb8\x01\n\x10GetInstallStatus\x12\x35.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest\x1a+.google.cloud.gsuiteaddons.v1.InstallStatus\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/deployments/*/installStatus}\x1aO\xca\x41\x1bgsuiteaddons.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdd\x01\n com.google.cloud.gsuiteaddons.v1B\x11GSuiteAddOnsProtoP\x01ZDcloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb;gsuiteaddonspb\xaa\x02\x1cGoogle.Cloud.GSuiteAddOns.V1\xca\x02\x1cGoogle\\Cloud\\GSuiteAddOns\\V1\xea\x02\x1fGoogle::Cloud::GSuiteAddOns::V1b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"], ["google.apps.script.type.CommonAddOnManifest", "google/apps/script/type/script_manifest.proto"], ["google.apps.script.type.gmail.GmailAddOnManifest", "google/apps/script/type/gmail/gmail_addon_manifest.proto"], ["google.apps.script.type.drive.DriveAddOnManifest", "google/apps/script/type/drive/drive_addon_manifest.proto"], ["google.apps.script.type.calendar.CalendarAddOnManifest", "google/apps/script/type/calendar/calendar_addon_manifest.proto"], ["google.apps.script.type.docs.DocsAddOnManifest", "google/apps/script/type/docs/docs_addon_manifest.proto"], ["google.apps.script.type.sheets.SheetsAddOnManifest", "google/apps/script/type/sheets/sheets_addon_manifest.proto"], ["google.apps.script.type.slides.SlidesAddOnManifest", "google/apps/script/type/slides/slides_addon_manifest.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module GSuiteAddOns module V1 GetAuthorizationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.GetAuthorizationRequest").msgclass Authorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.Authorization").msgclass CreateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.CreateDeploymentRequest").msgclass ReplaceDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest").msgclass GetDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.GetDeploymentRequest").msgclass ListDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.ListDeploymentsRequest").msgclass ListDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.ListDeploymentsResponse").msgclass DeleteDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest").msgclass InstallDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.InstallDeploymentRequest").msgclass UninstallDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest").msgclass GetInstallStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.GetInstallStatusRequest").msgclass InstallStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.InstallStatus").msgclass Deployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.Deployment").msgclass AddOns = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.AddOns").msgclass end end end end