google-api-client 0.41.1 → 0.41.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +41 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +6 -6
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +271 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +54 -30
- data/generated/google/apis/compute_alpha/representations.rb +3 -0
- data/generated/google/apis/compute_alpha/service.rb +23 -29
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +55 -29
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +75 -29
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +84 -29
- data/generated/google/apis/compute_v1/representations.rb +17 -0
- data/generated/google/apis/compute_v1/service.rb +21 -29
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +94 -2
- data/generated/google/apis/container_v1/representations.rb +35 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +121 -17
- data/generated/google/apis/container_v1beta1/representations.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +6 -5
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -5
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +74 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +74 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +42 -42
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +3 -6
- data/generated/google/apis/displayvideo_v1/service.rb +0 -4
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +34 -0
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +73 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +32 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +1 -6
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +73 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +32 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -3
@@ -0,0 +1,236 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module GmailpostmastertoolsV1beta1
|
23
|
+
# Gmail Postmaster Tools API
|
24
|
+
#
|
25
|
+
# The Gmail Postmaster API is a RESTful API that provides programmatic access to
|
26
|
+
# email traffic metrics (like spam reports, delivery errors etc) otherwise
|
27
|
+
# available through the Gmail Postmaster Tools UI currently.
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
# require 'google/apis/gmailpostmastertools_v1beta1'
|
31
|
+
#
|
32
|
+
# Gmailpostmastertools = Google::Apis::GmailpostmastertoolsV1beta1 # Alias the module
|
33
|
+
# service = Gmailpostmastertools::PostmasterToolsService.new
|
34
|
+
#
|
35
|
+
# @see https://developers.google.com/gmail/postmaster
|
36
|
+
class PostmasterToolsService < Google::Apis::Core::BaseService
|
37
|
+
# @return [String]
|
38
|
+
# API key. Your API key identifies your project and provides you with API access,
|
39
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
40
|
+
attr_accessor :key
|
41
|
+
|
42
|
+
# @return [String]
|
43
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
44
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
45
|
+
attr_accessor :quota_user
|
46
|
+
|
47
|
+
def initialize
|
48
|
+
super('https://gmailpostmastertools.googleapis.com/', '')
|
49
|
+
@batch_path = 'batch'
|
50
|
+
end
|
51
|
+
|
52
|
+
# Gets a specific domain registered by the client.
|
53
|
+
# Returns NOT_FOUND if the domain does not exist.
|
54
|
+
# @param [String] name
|
55
|
+
# The resource name of the domain. It should have the form
|
56
|
+
# `domains/`domain_name``, where domain_name is the fully qualified
|
57
|
+
# domain name.
|
58
|
+
# @param [String] fields
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
60
|
+
# @param [String] quota_user
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
64
|
+
# Request-specific options
|
65
|
+
#
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
67
|
+
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::Domain] parsed result object
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
69
|
+
#
|
70
|
+
# @return [Google::Apis::GmailpostmastertoolsV1beta1::Domain]
|
71
|
+
#
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
+
def get_domain(name, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
77
|
+
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::Domain::Representation
|
78
|
+
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::Domain
|
79
|
+
command.params['name'] = name unless name.nil?
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
81
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
82
|
+
execute_or_queue_command(command, &block)
|
83
|
+
end
|
84
|
+
|
85
|
+
# Lists the domains that have been registered by the client. The order of
|
86
|
+
# domains in the response is unspecified and non-deterministic. Newly created
|
87
|
+
# domains will not necessarily be added to the end of this list.
|
88
|
+
# @param [Fixnum] page_size
|
89
|
+
# Requested page size. Server may return fewer domains than requested.
|
90
|
+
# If unspecified, server will pick an appropriate default.
|
91
|
+
# @param [String] page_token
|
92
|
+
# The next_page_token value returned from a previous List request, if any.
|
93
|
+
# This is the value of
|
94
|
+
# ListDomainsResponse.next_page_token
|
95
|
+
# returned from the previous call to `ListDomains` method.
|
96
|
+
# @param [String] fields
|
97
|
+
# Selector specifying which fields to include in a partial response.
|
98
|
+
# @param [String] quota_user
|
99
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
101
|
+
# @param [Google::Apis::RequestOptions] options
|
102
|
+
# Request-specific options
|
103
|
+
#
|
104
|
+
# @yield [result, err] Result & error if block supplied
|
105
|
+
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse] parsed result object
|
106
|
+
# @yieldparam err [StandardError] error object if request failed
|
107
|
+
#
|
108
|
+
# @return [Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse]
|
109
|
+
#
|
110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
113
|
+
def list_domains(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
114
|
+
command = make_simple_command(:get, 'v1beta1/domains', options)
|
115
|
+
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse::Representation
|
116
|
+
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse
|
117
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
118
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
119
|
+
command.query['fields'] = fields unless fields.nil?
|
120
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
121
|
+
execute_or_queue_command(command, &block)
|
122
|
+
end
|
123
|
+
|
124
|
+
# Get traffic statistics for a domain on a specific date.
|
125
|
+
# Returns PERMISSION_DENIED if user does not have permission to access
|
126
|
+
# TrafficStats for the domain.
|
127
|
+
# @param [String] name
|
128
|
+
# The resource name of the traffic statistics to get.
|
129
|
+
# E.g., domains/mymail.mydomain.com/trafficStats/20160807.
|
130
|
+
# @param [String] fields
|
131
|
+
# Selector specifying which fields to include in a partial response.
|
132
|
+
# @param [String] quota_user
|
133
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
134
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
135
|
+
# @param [Google::Apis::RequestOptions] options
|
136
|
+
# Request-specific options
|
137
|
+
#
|
138
|
+
# @yield [result, err] Result & error if block supplied
|
139
|
+
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats] parsed result object
|
140
|
+
# @yieldparam err [StandardError] error object if request failed
|
141
|
+
#
|
142
|
+
# @return [Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats]
|
143
|
+
#
|
144
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
145
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
146
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
147
|
+
def get_domain_traffic_stat(name, fields: nil, quota_user: nil, options: nil, &block)
|
148
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
149
|
+
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats::Representation
|
150
|
+
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats
|
151
|
+
command.params['name'] = name unless name.nil?
|
152
|
+
command.query['fields'] = fields unless fields.nil?
|
153
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
154
|
+
execute_or_queue_command(command, &block)
|
155
|
+
end
|
156
|
+
|
157
|
+
# List traffic statistics for all available days.
|
158
|
+
# Returns PERMISSION_DENIED if user does not have permission to access
|
159
|
+
# TrafficStats for the domain.
|
160
|
+
# @param [String] parent
|
161
|
+
# The resource name of the domain whose traffic statistics we'd like to list.
|
162
|
+
# It should have the form `domains/`domain_name``, where domain_name is
|
163
|
+
# the fully qualified domain name.
|
164
|
+
# @param [Fixnum] end_date_day
|
165
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
166
|
+
# if specifying a year by itself or a year and month where the day is not
|
167
|
+
# significant.
|
168
|
+
# @param [Fixnum] end_date_month
|
169
|
+
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
170
|
+
# month and day.
|
171
|
+
# @param [Fixnum] end_date_year
|
172
|
+
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
173
|
+
# a year.
|
174
|
+
# @param [Fixnum] page_size
|
175
|
+
# Requested page size. Server may return fewer TrafficStats than
|
176
|
+
# requested. If unspecified, server will pick an appropriate default.
|
177
|
+
# @param [String] page_token
|
178
|
+
# The next_page_token value returned from a previous List request, if any.
|
179
|
+
# This is the value of
|
180
|
+
# ListTrafficStatsResponse.next_page_token
|
181
|
+
# returned from the previous call to `ListTrafficStats` method.
|
182
|
+
# @param [Fixnum] start_date_day
|
183
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
184
|
+
# if specifying a year by itself or a year and month where the day is not
|
185
|
+
# significant.
|
186
|
+
# @param [Fixnum] start_date_month
|
187
|
+
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
188
|
+
# month and day.
|
189
|
+
# @param [Fixnum] start_date_year
|
190
|
+
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
191
|
+
# a year.
|
192
|
+
# @param [String] fields
|
193
|
+
# Selector specifying which fields to include in a partial response.
|
194
|
+
# @param [String] quota_user
|
195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
197
|
+
# @param [Google::Apis::RequestOptions] options
|
198
|
+
# Request-specific options
|
199
|
+
#
|
200
|
+
# @yield [result, err] Result & error if block supplied
|
201
|
+
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse] parsed result object
|
202
|
+
# @yieldparam err [StandardError] error object if request failed
|
203
|
+
#
|
204
|
+
# @return [Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse]
|
205
|
+
#
|
206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
209
|
+
def list_domain_traffic_stats(parent, end_date_day: nil, end_date_month: nil, end_date_year: nil, page_size: nil, page_token: nil, start_date_day: nil, start_date_month: nil, start_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
210
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/trafficStats', options)
|
211
|
+
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse::Representation
|
212
|
+
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse
|
213
|
+
command.params['parent'] = parent unless parent.nil?
|
214
|
+
command.query['endDate.day'] = end_date_day unless end_date_day.nil?
|
215
|
+
command.query['endDate.month'] = end_date_month unless end_date_month.nil?
|
216
|
+
command.query['endDate.year'] = end_date_year unless end_date_year.nil?
|
217
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
218
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
219
|
+
command.query['startDate.day'] = start_date_day unless start_date_day.nil?
|
220
|
+
command.query['startDate.month'] = start_date_month unless start_date_month.nil?
|
221
|
+
command.query['startDate.year'] = start_date_year unless start_date_year.nil?
|
222
|
+
command.query['fields'] = fields unless fields.nil?
|
223
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
224
|
+
execute_or_queue_command(command, &block)
|
225
|
+
end
|
226
|
+
|
227
|
+
protected
|
228
|
+
|
229
|
+
def apply_command_defaults(command)
|
230
|
+
command.query['key'] = key unless key.nil?
|
231
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
235
|
+
end
|
236
|
+
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/managed-microsoft-ad/
|
27
27
|
module ManagedidentitiesV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200622'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -542,6 +542,12 @@ module Google
|
|
542
542
|
# @return [Hash<String,Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
|
543
543
|
attr_accessor :maintenance_schedules
|
544
544
|
|
545
|
+
# Maintenance settings associated with instance. Allows service producers and
|
546
|
+
# end users to assign settings that controls maintenance on this instance.
|
547
|
+
# Corresponds to the JSON property `maintenanceSettings`
|
548
|
+
# @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
549
|
+
attr_accessor :maintenance_settings
|
550
|
+
|
545
551
|
# Unique name of the resource. It uses the form:
|
546
552
|
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
|
547
553
|
# Corresponds to the JSON property `name`
|
@@ -609,6 +615,7 @@ module Google
|
|
609
615
|
@labels = args[:labels] if args.key?(:labels)
|
610
616
|
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
|
611
617
|
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
|
618
|
+
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
|
612
619
|
@name = args[:name] if args.key?(:name)
|
613
620
|
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
614
621
|
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
|
@@ -664,6 +671,30 @@ module Google
|
|
664
671
|
end
|
665
672
|
end
|
666
673
|
|
674
|
+
# Maintenance settings associated with instance. Allows service producers and
|
675
|
+
# end users to assign settings that controls maintenance on this instance.
|
676
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
677
|
+
include Google::Apis::Core::Hashable
|
678
|
+
|
679
|
+
# Optional. Exclude instance from maintenance. When true, rollout service will
|
680
|
+
# not
|
681
|
+
# attempt maintenance on the instance. Rollout service will include the
|
682
|
+
# instance in reported rollout progress as not attempted.
|
683
|
+
# Corresponds to the JSON property `exclude`
|
684
|
+
# @return [Boolean]
|
685
|
+
attr_accessor :exclude
|
686
|
+
alias_method :exclude?, :exclude
|
687
|
+
|
688
|
+
def initialize(**args)
|
689
|
+
update!(**args)
|
690
|
+
end
|
691
|
+
|
692
|
+
# Update properties of this object
|
693
|
+
def update!(**args)
|
694
|
+
@exclude = args[:exclude] if args.key?(:exclude)
|
695
|
+
end
|
696
|
+
end
|
697
|
+
|
667
698
|
# Node information for custom per-node SLO implementations.
|
668
699
|
# SSA does not support per-node SLO, but producers can populate per-node
|
669
700
|
# information in SloMetadata for custom precomputations.
|
@@ -1128,10 +1159,13 @@ module Google
|
|
1128
1159
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1129
1160
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1130
1161
|
# custom role.
|
1131
|
-
#
|
1132
|
-
# expression that allows access to a resource
|
1133
|
-
# to `true`. A condition can add constraints
|
1134
|
-
# request, the resource, or both.
|
1162
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1163
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1164
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1165
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1166
|
+
# resources support conditions in their IAM policies, see the
|
1167
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1168
|
+
# policies).
|
1135
1169
|
# **JSON example:**
|
1136
1170
|
# `
|
1137
1171
|
# "bindings": [
|
@@ -1146,7 +1180,9 @@ module Google
|
|
1146
1180
|
# `,
|
1147
1181
|
# `
|
1148
1182
|
# "role": "roles/resourcemanager.organizationViewer",
|
1149
|
-
# "members": [
|
1183
|
+
# "members": [
|
1184
|
+
# "user:eve@example.com"
|
1185
|
+
# ],
|
1150
1186
|
# "condition": `
|
1151
1187
|
# "title": "expirable access",
|
1152
1188
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1219,6 +1255,9 @@ module Google
|
|
1219
1255
|
# the conditions in the version `3` policy are lost.
|
1220
1256
|
# If a policy does not include any conditions, operations on that policy may
|
1221
1257
|
# specify any valid version or leave the field unset.
|
1258
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1259
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1260
|
+
# policies).
|
1222
1261
|
# Corresponds to the JSON property `version`
|
1223
1262
|
# @return [Fixnum]
|
1224
1263
|
attr_accessor :version
|
@@ -1310,10 +1349,13 @@ module Google
|
|
1310
1349
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1311
1350
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1312
1351
|
# custom role.
|
1313
|
-
#
|
1314
|
-
# expression that allows access to a resource
|
1315
|
-
# to `true`. A condition can add constraints
|
1316
|
-
# request, the resource, or both.
|
1352
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1353
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1354
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1355
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1356
|
+
# resources support conditions in their IAM policies, see the
|
1357
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1358
|
+
# policies).
|
1317
1359
|
# **JSON example:**
|
1318
1360
|
# `
|
1319
1361
|
# "bindings": [
|
@@ -1328,7 +1370,9 @@ module Google
|
|
1328
1370
|
# `,
|
1329
1371
|
# `
|
1330
1372
|
# "role": "roles/resourcemanager.organizationViewer",
|
1331
|
-
# "members": [
|
1373
|
+
# "members": [
|
1374
|
+
# "user:eve@example.com"
|
1375
|
+
# ],
|
1332
1376
|
# "condition": `
|
1333
1377
|
# "title": "expirable access",
|
1334
1378
|
# "description": "Does not grant access after Sep 2020",
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -332,6 +338,8 @@ module Google
|
|
332
338
|
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
|
333
339
|
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
|
334
340
|
|
341
|
+
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
|
342
|
+
|
335
343
|
property :name, as: 'name'
|
336
344
|
hash :producer_metadata, as: 'producerMetadata'
|
337
345
|
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
|
@@ -356,6 +364,13 @@ module Google
|
|
356
364
|
end
|
357
365
|
end
|
358
366
|
|
367
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
368
|
+
# @private
|
369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
370
|
+
property :exclude, as: 'exclude'
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
359
374
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
360
375
|
# @private
|
361
376
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -311,6 +311,9 @@ module Google
|
|
311
311
|
# Requests for policies with any conditional bindings must specify version 3.
|
312
312
|
# Policies without any conditional bindings may specify any valid value or
|
313
313
|
# leave the field unset.
|
314
|
+
# To learn which resources support conditions in their IAM policies, see the
|
315
|
+
# [IAM
|
316
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
314
317
|
# @param [String] fields
|
315
318
|
# Selector specifying which fields to include in a partial response.
|
316
319
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/managed-microsoft-ad/
|
27
27
|
module ManagedidentitiesV1alpha1
|
28
28
|
VERSION = 'V1alpha1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200622'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -550,6 +550,12 @@ module Google
|
|
550
550
|
# @return [Hash<String,Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
|
551
551
|
attr_accessor :maintenance_schedules
|
552
552
|
|
553
|
+
# Maintenance settings associated with instance. Allows service producers and
|
554
|
+
# end users to assign settings that controls maintenance on this instance.
|
555
|
+
# Corresponds to the JSON property `maintenanceSettings`
|
556
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
557
|
+
attr_accessor :maintenance_settings
|
558
|
+
|
553
559
|
# Unique name of the resource. It uses the form:
|
554
560
|
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
|
555
561
|
# Corresponds to the JSON property `name`
|
@@ -617,6 +623,7 @@ module Google
|
|
617
623
|
@labels = args[:labels] if args.key?(:labels)
|
618
624
|
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
|
619
625
|
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
|
626
|
+
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
|
620
627
|
@name = args[:name] if args.key?(:name)
|
621
628
|
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
622
629
|
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
|
@@ -672,6 +679,30 @@ module Google
|
|
672
679
|
end
|
673
680
|
end
|
674
681
|
|
682
|
+
# Maintenance settings associated with instance. Allows service producers and
|
683
|
+
# end users to assign settings that controls maintenance on this instance.
|
684
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
685
|
+
include Google::Apis::Core::Hashable
|
686
|
+
|
687
|
+
# Optional. Exclude instance from maintenance. When true, rollout service will
|
688
|
+
# not
|
689
|
+
# attempt maintenance on the instance. Rollout service will include the
|
690
|
+
# instance in reported rollout progress as not attempted.
|
691
|
+
# Corresponds to the JSON property `exclude`
|
692
|
+
# @return [Boolean]
|
693
|
+
attr_accessor :exclude
|
694
|
+
alias_method :exclude?, :exclude
|
695
|
+
|
696
|
+
def initialize(**args)
|
697
|
+
update!(**args)
|
698
|
+
end
|
699
|
+
|
700
|
+
# Update properties of this object
|
701
|
+
def update!(**args)
|
702
|
+
@exclude = args[:exclude] if args.key?(:exclude)
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
675
706
|
# Node information for custom per-node SLO implementations.
|
676
707
|
# SSA does not support per-node SLO, but producers can populate per-node
|
677
708
|
# information in SloMetadata for custom precomputations.
|
@@ -1135,10 +1166,13 @@ module Google
|
|
1135
1166
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1136
1167
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1137
1168
|
# custom role.
|
1138
|
-
#
|
1139
|
-
# expression that allows access to a resource
|
1140
|
-
# to `true`. A condition can add constraints
|
1141
|
-
# request, the resource, or both.
|
1169
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1170
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1171
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1172
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1173
|
+
# resources support conditions in their IAM policies, see the
|
1174
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1175
|
+
# policies).
|
1142
1176
|
# **JSON example:**
|
1143
1177
|
# `
|
1144
1178
|
# "bindings": [
|
@@ -1153,7 +1187,9 @@ module Google
|
|
1153
1187
|
# `,
|
1154
1188
|
# `
|
1155
1189
|
# "role": "roles/resourcemanager.organizationViewer",
|
1156
|
-
# "members": [
|
1190
|
+
# "members": [
|
1191
|
+
# "user:eve@example.com"
|
1192
|
+
# ],
|
1157
1193
|
# "condition": `
|
1158
1194
|
# "title": "expirable access",
|
1159
1195
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1226,6 +1262,9 @@ module Google
|
|
1226
1262
|
# the conditions in the version `3` policy are lost.
|
1227
1263
|
# If a policy does not include any conditions, operations on that policy may
|
1228
1264
|
# specify any valid version or leave the field unset.
|
1265
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1266
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1267
|
+
# policies).
|
1229
1268
|
# Corresponds to the JSON property `version`
|
1230
1269
|
# @return [Fixnum]
|
1231
1270
|
attr_accessor :version
|
@@ -1308,10 +1347,13 @@ module Google
|
|
1308
1347
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1309
1348
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1310
1349
|
# custom role.
|
1311
|
-
#
|
1312
|
-
# expression that allows access to a resource
|
1313
|
-
# to `true`. A condition can add constraints
|
1314
|
-
# request, the resource, or both.
|
1350
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1351
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1352
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1353
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1354
|
+
# resources support conditions in their IAM policies, see the
|
1355
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1356
|
+
# policies).
|
1315
1357
|
# **JSON example:**
|
1316
1358
|
# `
|
1317
1359
|
# "bindings": [
|
@@ -1326,7 +1368,9 @@ module Google
|
|
1326
1368
|
# `,
|
1327
1369
|
# `
|
1328
1370
|
# "role": "roles/resourcemanager.organizationViewer",
|
1329
|
-
# "members": [
|
1371
|
+
# "members": [
|
1372
|
+
# "user:eve@example.com"
|
1373
|
+
# ],
|
1330
1374
|
# "condition": `
|
1331
1375
|
# "title": "expirable access",
|
1332
1376
|
# "description": "Does not grant access after Sep 2020",
|