google-cloud-gsuite_add_ons-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +144 -0
  6. data/lib/google/cloud/gsuite_add_ons/v1/gsuite_add_ons/client.rb +1208 -0
  7. data/lib/google/cloud/gsuite_add_ons/v1/gsuite_add_ons/credentials.rb +47 -0
  8. data/lib/google/cloud/gsuite_add_ons/v1/gsuite_add_ons/paths.rb +95 -0
  9. data/lib/google/cloud/gsuite_add_ons/v1/gsuite_add_ons.rb +76 -0
  10. data/lib/google/cloud/gsuite_add_ons/v1/version.rb +28 -0
  11. data/lib/google/cloud/gsuite_add_ons/v1.rb +40 -0
  12. data/lib/google/cloud/gsuiteaddons/v1/gsuiteaddons_pb.rb +107 -0
  13. data/lib/google/cloud/gsuiteaddons/v1/gsuiteaddons_services_pb.rb +92 -0
  14. data/lib/google-cloud-gsuite_add_ons-v1.rb +21 -0
  15. data/proto_docs/README.md +4 -0
  16. data/proto_docs/google/api/client.rb +318 -0
  17. data/proto_docs/google/api/field_behavior.rb +71 -0
  18. data/proto_docs/google/api/launch_stage.rb +71 -0
  19. data/proto_docs/google/api/resource.rb +222 -0
  20. data/proto_docs/google/apps/script/type/addon_widget_set.rb +62 -0
  21. data/proto_docs/google/apps/script/type/calendar/calendar_addon_manifest.rb +114 -0
  22. data/proto_docs/google/apps/script/type/docs/docs_addon_manifest.rb +51 -0
  23. data/proto_docs/google/apps/script/type/drive/drive_addon_manifest.rb +53 -0
  24. data/proto_docs/google/apps/script/type/extension_point.rb +80 -0
  25. data/proto_docs/google/apps/script/type/gmail/gmail_addon_manifest.rb +134 -0
  26. data/proto_docs/google/apps/script/type/script_manifest.rb +112 -0
  27. data/proto_docs/google/apps/script/type/sheets/sheets_addon_manifest.rb +51 -0
  28. data/proto_docs/google/apps/script/type/slides/slides_addon_manifest.rb +51 -0
  29. data/proto_docs/google/cloud/gsuiteaddons/v1/gsuiteaddons.rb +245 -0
  30. data/proto_docs/google/protobuf/duration.rb +98 -0
  31. data/proto_docs/google/protobuf/empty.rb +34 -0
  32. data/proto_docs/google/protobuf/struct.rb +96 -0
  33. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  34. metadata +243 -0
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "googleauth"
20
+
21
+ module Google
22
+ module Cloud
23
+ module GSuiteAddOns
24
+ module V1
25
+ module GSuiteAddOns
26
+ # Credentials for the GSuiteAddOns API.
27
+ class Credentials < ::Google::Auth::Credentials
28
+ self.scope = [
29
+ "https://www.googleapis.com/auth/cloud-platform"
30
+ ]
31
+ self.env_vars = [
32
+ "GOOGLE_CLOUD_CREDENTIALS",
33
+ "GOOGLE_CLOUD_KEYFILE",
34
+ "GCLOUD_KEYFILE",
35
+ "GOOGLE_CLOUD_CREDENTIALS_JSON",
36
+ "GOOGLE_CLOUD_KEYFILE_JSON",
37
+ "GCLOUD_KEYFILE_JSON"
38
+ ]
39
+ self.paths = [
40
+ "~/.config/google_cloud/application_default_credentials.json"
41
+ ]
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,95 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module GSuiteAddOns
23
+ module V1
24
+ module GSuiteAddOns
25
+ # Path helper methods for the GSuiteAddOns API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Authorization resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/authorization`
33
+ #
34
+ # @param project [String]
35
+ #
36
+ # @return [::String]
37
+ def authorization_path project:
38
+ "projects/#{project}/authorization"
39
+ end
40
+
41
+ ##
42
+ # Create a fully-qualified Deployment resource string.
43
+ #
44
+ # The resource will be in the following format:
45
+ #
46
+ # `projects/{project}/deployments/{deployment}`
47
+ #
48
+ # @param project [String]
49
+ # @param deployment [String]
50
+ #
51
+ # @return [::String]
52
+ def deployment_path project:, deployment:
53
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
54
+
55
+ "projects/#{project}/deployments/#{deployment}"
56
+ end
57
+
58
+ ##
59
+ # Create a fully-qualified InstallStatus resource string.
60
+ #
61
+ # The resource will be in the following format:
62
+ #
63
+ # `projects/{project}/deployments/{deployment}/installStatus`
64
+ #
65
+ # @param project [String]
66
+ # @param deployment [String]
67
+ #
68
+ # @return [::String]
69
+ def install_status_path project:, deployment:
70
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
71
+
72
+ "projects/#{project}/deployments/#{deployment}/installStatus"
73
+ end
74
+
75
+ ##
76
+ # Create a fully-qualified Project resource string.
77
+ #
78
+ # The resource will be in the following format:
79
+ #
80
+ # `projects/{project}`
81
+ #
82
+ # @param project [String]
83
+ #
84
+ # @return [::String]
85
+ def project_path project:
86
+ "projects/#{project}"
87
+ end
88
+
89
+ extend self
90
+ end
91
+ end
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,76 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/gsuite_add_ons/v1/version"
24
+
25
+ require "google/cloud/gsuite_add_ons/v1/gsuite_add_ons/credentials"
26
+ require "google/cloud/gsuite_add_ons/v1/gsuite_add_ons/paths"
27
+ require "google/cloud/gsuite_add_ons/v1/gsuite_add_ons/client"
28
+
29
+ module Google
30
+ module Cloud
31
+ module GSuiteAddOns
32
+ module V1
33
+ ##
34
+ # A service for managing Google Workspace Add-ons deployments.
35
+ #
36
+ # A Google Workspace Add-on is a third-party embedded component that can be
37
+ # installed in Google Workspace Applications like Gmail, Calendar, Drive, and
38
+ # the Google Docs, Sheets, and Slides editors. Google Workspace Add-ons can
39
+ # display UI cards, receive contextual information from the host application,
40
+ # and perform actions in the host application (See:
41
+ # https://developers.google.com/gsuite/add-ons/overview for more information).
42
+ #
43
+ # A Google Workspace Add-on deployment resource specifies metadata about the
44
+ # add-on, including a specification of the entry points in the host application
45
+ # that trigger add-on executions (see:
46
+ # https://developers.google.com/gsuite/add-ons/concepts/gsuite-manifests).
47
+ # Add-on deployments defined via the Google Workspace Add-ons API define their
48
+ # entrypoints using HTTPS URLs (See:
49
+ # https://developers.google.com/gsuite/add-ons/guides/alternate-runtimes),
50
+ #
51
+ # A Google Workspace Add-on deployment can be installed in developer mode,
52
+ # which allows an add-on developer to test the experience an end-user would see
53
+ # when installing and running the add-on in their G Suite applications. When
54
+ # running in developer mode, more detailed error messages are exposed in the
55
+ # add-on UI to aid in debugging.
56
+ #
57
+ # A Google Workspace Add-on deployment can be published to Google Workspace
58
+ # Marketplace, which allows other Google Workspace users to discover and
59
+ # install the add-on. See:
60
+ # https://developers.google.com/gsuite/add-ons/how-tos/publish-add-on-overview
61
+ # for details.
62
+ #
63
+ # @example Load this service and instantiate a gRPC client
64
+ #
65
+ # require "google/cloud/gsuite_add_ons/v1/gsuite_add_ons"
66
+ # client = ::Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Client.new
67
+ #
68
+ module GSuiteAddOns
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end
74
+
75
+ helper_path = ::File.join __dir__, "gsuite_add_ons", "helpers.rb"
76
+ require "google/cloud/gsuite_add_ons/v1/gsuite_add_ons/helpers" if ::File.file? helper_path
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module GSuiteAddOns
23
+ module V1
24
+ VERSION = "0.1.0"
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/gsuite_add_ons/v1/gsuite_add_ons"
20
+ require "google/cloud/gsuite_add_ons/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module GSuiteAddOns
25
+ ##
26
+ # API client module.
27
+ #
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
+ #
30
+ # require "google/cloud/gsuite_add_ons/v1"
31
+ # client = ::Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Client.new
32
+ #
33
+ module V1
34
+ end
35
+ end
36
+ end
37
+ end
38
+
39
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
40
+ require "google/cloud/gsuite_add_ons/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,107 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/api/resource_pb'
10
+ require 'google/apps/script/type/calendar/calendar_addon_manifest_pb'
11
+ require 'google/apps/script/type/docs/docs_addon_manifest_pb'
12
+ require 'google/apps/script/type/drive/drive_addon_manifest_pb'
13
+ require 'google/apps/script/type/gmail/gmail_addon_manifest_pb'
14
+ require 'google/apps/script/type/script_manifest_pb'
15
+ require 'google/apps/script/type/sheets/sheets_addon_manifest_pb'
16
+ require 'google/apps/script/type/slides/slides_addon_manifest_pb'
17
+ require 'google/protobuf/empty_pb'
18
+ require 'google/protobuf/wrappers_pb'
19
+
20
+ Google::Protobuf::DescriptorPool.generated_pool.build do
21
+ add_file("google/cloud/gsuiteaddons/v1/gsuiteaddons.proto", :syntax => :proto3) do
22
+ add_message "google.cloud.gsuiteaddons.v1.GetAuthorizationRequest" do
23
+ optional :name, :string, 2
24
+ end
25
+ add_message "google.cloud.gsuiteaddons.v1.Authorization" do
26
+ optional :name, :string, 1
27
+ optional :service_account_email, :string, 2
28
+ optional :oauth_client_id, :string, 3
29
+ end
30
+ add_message "google.cloud.gsuiteaddons.v1.CreateDeploymentRequest" do
31
+ optional :parent, :string, 1
32
+ optional :deployment_id, :string, 2
33
+ optional :deployment, :message, 3, "google.cloud.gsuiteaddons.v1.Deployment"
34
+ end
35
+ add_message "google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest" do
36
+ optional :deployment, :message, 2, "google.cloud.gsuiteaddons.v1.Deployment"
37
+ end
38
+ add_message "google.cloud.gsuiteaddons.v1.GetDeploymentRequest" do
39
+ optional :name, :string, 1
40
+ end
41
+ add_message "google.cloud.gsuiteaddons.v1.ListDeploymentsRequest" do
42
+ optional :parent, :string, 1
43
+ optional :page_size, :int32, 2
44
+ optional :page_token, :string, 3
45
+ end
46
+ add_message "google.cloud.gsuiteaddons.v1.ListDeploymentsResponse" do
47
+ repeated :deployments, :message, 1, "google.cloud.gsuiteaddons.v1.Deployment"
48
+ optional :next_page_token, :string, 2
49
+ end
50
+ add_message "google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest" do
51
+ optional :name, :string, 1
52
+ optional :etag, :string, 2
53
+ end
54
+ add_message "google.cloud.gsuiteaddons.v1.InstallDeploymentRequest" do
55
+ optional :name, :string, 1
56
+ end
57
+ add_message "google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest" do
58
+ optional :name, :string, 1
59
+ end
60
+ add_message "google.cloud.gsuiteaddons.v1.GetInstallStatusRequest" do
61
+ optional :name, :string, 1
62
+ end
63
+ add_message "google.cloud.gsuiteaddons.v1.InstallStatus" do
64
+ optional :name, :string, 1
65
+ optional :installed, :message, 2, "google.protobuf.BoolValue"
66
+ end
67
+ add_message "google.cloud.gsuiteaddons.v1.Deployment" do
68
+ optional :name, :string, 1
69
+ repeated :oauth_scopes, :string, 2
70
+ optional :add_ons, :message, 3, "google.cloud.gsuiteaddons.v1.AddOns"
71
+ optional :etag, :string, 5
72
+ end
73
+ add_message "google.cloud.gsuiteaddons.v1.AddOns" do
74
+ optional :common, :message, 1, "google.apps.script.type.CommonAddOnManifest"
75
+ optional :gmail, :message, 2, "google.apps.script.type.gmail.GmailAddOnManifest"
76
+ optional :drive, :message, 5, "google.apps.script.type.drive.DriveAddOnManifest"
77
+ optional :calendar, :message, 6, "google.apps.script.type.calendar.CalendarAddOnManifest"
78
+ optional :docs, :message, 7, "google.apps.script.type.docs.DocsAddOnManifest"
79
+ optional :sheets, :message, 8, "google.apps.script.type.sheets.SheetsAddOnManifest"
80
+ optional :slides, :message, 10, "google.apps.script.type.slides.SlidesAddOnManifest"
81
+ optional :http_options, :message, 15, "google.apps.script.type.HttpOptions"
82
+ end
83
+ end
84
+ end
85
+
86
+ module Google
87
+ module Cloud
88
+ module GSuiteAddOns
89
+ module V1
90
+ GetAuthorizationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.GetAuthorizationRequest").msgclass
91
+ Authorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.Authorization").msgclass
92
+ CreateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.CreateDeploymentRequest").msgclass
93
+ ReplaceDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest").msgclass
94
+ GetDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.GetDeploymentRequest").msgclass
95
+ ListDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.ListDeploymentsRequest").msgclass
96
+ ListDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.ListDeploymentsResponse").msgclass
97
+ DeleteDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest").msgclass
98
+ InstallDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.InstallDeploymentRequest").msgclass
99
+ UninstallDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest").msgclass
100
+ GetInstallStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.GetInstallStatusRequest").msgclass
101
+ InstallStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.InstallStatus").msgclass
102
+ Deployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.Deployment").msgclass
103
+ AddOns = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gsuiteaddons.v1.AddOns").msgclass
104
+ end
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,92 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto for package 'Google.Cloud.GSuiteAddOns.V1'
3
+ # Original file comments:
4
+ # Copyright 2020 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/gsuiteaddons/v1/gsuiteaddons_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module GSuiteAddOns
25
+ module V1
26
+ module GSuiteAddOns
27
+ # A service for managing Google Workspace Add-ons deployments.
28
+ #
29
+ # A Google Workspace Add-on is a third-party embedded component that can be
30
+ # installed in Google Workspace Applications like Gmail, Calendar, Drive, and
31
+ # the Google Docs, Sheets, and Slides editors. Google Workspace Add-ons can
32
+ # display UI cards, receive contextual information from the host application,
33
+ # and perform actions in the host application (See:
34
+ # https://developers.google.com/gsuite/add-ons/overview for more information).
35
+ #
36
+ # A Google Workspace Add-on deployment resource specifies metadata about the
37
+ # add-on, including a specification of the entry points in the host application
38
+ # that trigger add-on executions (see:
39
+ # https://developers.google.com/gsuite/add-ons/concepts/gsuite-manifests).
40
+ # Add-on deployments defined via the Google Workspace Add-ons API define their
41
+ # entrypoints using HTTPS URLs (See:
42
+ # https://developers.google.com/gsuite/add-ons/guides/alternate-runtimes),
43
+ #
44
+ # A Google Workspace Add-on deployment can be installed in developer mode,
45
+ # which allows an add-on developer to test the experience an end-user would see
46
+ # when installing and running the add-on in their G Suite applications. When
47
+ # running in developer mode, more detailed error messages are exposed in the
48
+ # add-on UI to aid in debugging.
49
+ #
50
+ # A Google Workspace Add-on deployment can be published to Google Workspace
51
+ # Marketplace, which allows other Google Workspace users to discover and
52
+ # install the add-on. See:
53
+ # https://developers.google.com/gsuite/add-ons/how-tos/publish-add-on-overview
54
+ # for details.
55
+ class Service
56
+
57
+ include ::GRPC::GenericService
58
+
59
+ self.marshal_class_method = :encode
60
+ self.unmarshal_class_method = :decode
61
+ self.service_name = 'google.cloud.gsuiteaddons.v1.GSuiteAddOns'
62
+
63
+ # Gets the authorization information for deployments in a given project.
64
+ rpc :GetAuthorization, ::Google::Cloud::GSuiteAddOns::V1::GetAuthorizationRequest, ::Google::Cloud::GSuiteAddOns::V1::Authorization
65
+ # Creates a deployment with the specified name and configuration.
66
+ rpc :CreateDeployment, ::Google::Cloud::GSuiteAddOns::V1::CreateDeploymentRequest, ::Google::Cloud::GSuiteAddOns::V1::Deployment
67
+ # Creates or replaces a deployment with the specified name.
68
+ rpc :ReplaceDeployment, ::Google::Cloud::GSuiteAddOns::V1::ReplaceDeploymentRequest, ::Google::Cloud::GSuiteAddOns::V1::Deployment
69
+ # Gets the deployment with the specified name.
70
+ rpc :GetDeployment, ::Google::Cloud::GSuiteAddOns::V1::GetDeploymentRequest, ::Google::Cloud::GSuiteAddOns::V1::Deployment
71
+ # Lists all deployments in a particular project.
72
+ rpc :ListDeployments, ::Google::Cloud::GSuiteAddOns::V1::ListDeploymentsRequest, ::Google::Cloud::GSuiteAddOns::V1::ListDeploymentsResponse
73
+ # Deletes the deployment with the given name.
74
+ rpc :DeleteDeployment, ::Google::Cloud::GSuiteAddOns::V1::DeleteDeploymentRequest, ::Google::Protobuf::Empty
75
+ # Installs a deployment in developer mode.
76
+ # See:
77
+ # https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
78
+ rpc :InstallDeployment, ::Google::Cloud::GSuiteAddOns::V1::InstallDeploymentRequest, ::Google::Protobuf::Empty
79
+ # Uninstalls a developer mode deployment.
80
+ # See:
81
+ # https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
82
+ rpc :UninstallDeployment, ::Google::Cloud::GSuiteAddOns::V1::UninstallDeploymentRequest, ::Google::Protobuf::Empty
83
+ # Fetches the install status of a developer mode deployment.
84
+ rpc :GetInstallStatus, ::Google::Cloud::GSuiteAddOns::V1::GetInstallStatusRequest, ::Google::Cloud::GSuiteAddOns::V1::InstallStatus
85
+ end
86
+
87
+ Stub = Service.rpc_stub_class
88
+ end
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/cloud/gsuite_add_ons/v1"
@@ -0,0 +1,4 @@
1
+ # Google Workspace Add-ons V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.