google-api-client 0.13.6 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +56 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +3 -3
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +19 -69
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +3 -41
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +17 -149
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +30 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +4 -0
- data/generated/google/apis/{toolresults_v1beta3firstparty.rb → cloudtasks_v2beta2.rb} +13 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1709 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +585 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +1016 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -4
- data/generated/google/apis/cloudtrace_v2/classes.rb +0 -78
- data/generated/google/apis/cloudtrace_v2/representations.rb +0 -43
- data/generated/google/apis/cloudtrace_v2/service.rb +0 -101
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +833 -120
- data/generated/google/apis/compute_alpha/representations.rb +263 -26
- data/generated/google/apis/compute_alpha/service.rb +795 -107
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +5329 -524
- data/generated/google/apis/compute_beta/representations.rb +2241 -36
- data/generated/google/apis/compute_beta/service.rb +5 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +4 -5
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +12 -0
- data/generated/google/apis/container_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +54 -0
- data/generated/google/apis/container_v1beta1/representations.rb +18 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -39
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -16
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +71 -3
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +32 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +39 -3
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +16 -0
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +1605 -49
- data/generated/google/apis/dlp_v2beta1/representations.rb +832 -30
- data/generated/google/apis/dlp_v2beta1/service.rb +62 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +0 -36
- data/generated/google/apis/gmail_v1/representations.rb +0 -16
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +74 -0
- data/generated/google/apis/language_v1/representations.rb +35 -0
- data/generated/google/apis/language_v1/service.rb +31 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +3 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +8 -0
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/plus_domains_v1/service.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +35 -6
- data/generated/google/apis/servicecontrol_v1/representations.rb +16 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +4 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +45 -204
- data/generated/google/apis/sourcerepo_v1/representations.rb +10 -90
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +5 -3
- data/generated/google/apis/streetviewpublish_v1/service.rb +6 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +22 -85
- data/generated/google/apis/youtube_v3/representations.rb +3 -46
- data/generated/google/apis/youtube_v3/service.rb +11 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -6
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +0 -2630
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +0 -886
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +0 -1336
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/natural-language/
|
28
28
|
module LanguageV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20170911'
|
31
31
|
|
32
32
|
# Apply machine learning models to reveal the structure and meaning of text
|
33
33
|
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/natural-language/
|
28
28
|
module LanguageV1beta2
|
29
29
|
VERSION = 'V1beta2'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20170911'
|
31
31
|
|
32
32
|
# Apply machine learning models to reveal the structure and meaning of text
|
33
33
|
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
26
26
|
module MlV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170909'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -466,6 +466,7 @@ module Google
|
|
466
466
|
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
467
467
|
# versions/list).
|
468
468
|
# Next ID: 18
|
469
|
+
# LINT.IfChange
|
469
470
|
# Corresponds to the JSON property `defaultVersion`
|
470
471
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
471
472
|
attr_accessor :default_version
|
@@ -558,6 +559,7 @@ module Google
|
|
558
559
|
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
559
560
|
# versions/list).
|
560
561
|
# Next ID: 18
|
562
|
+
# LINT.IfChange
|
561
563
|
# Corresponds to the JSON property `version`
|
562
564
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
563
565
|
attr_accessor :version
|
@@ -1214,6 +1216,7 @@ module Google
|
|
1214
1216
|
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
1215
1217
|
# versions/list).
|
1216
1218
|
# Next ID: 18
|
1219
|
+
# LINT.IfChange
|
1217
1220
|
class GoogleCloudMlV1Version
|
1218
1221
|
include Google::Apis::Core::Hashable
|
1219
1222
|
|
@@ -1726,6 +1726,13 @@ module Google
|
|
1726
1726
|
class Photo
|
1727
1727
|
include Google::Apis::Core::Hashable
|
1728
1728
|
|
1729
|
+
# True if the photo is a default photo;
|
1730
|
+
# false if the photo is a user-provided photo.
|
1731
|
+
# Corresponds to the JSON property `default`
|
1732
|
+
# @return [Boolean]
|
1733
|
+
attr_accessor :default
|
1734
|
+
alias_method :default?, :default
|
1735
|
+
|
1729
1736
|
# Metadata about a field.
|
1730
1737
|
# Corresponds to the JSON property `metadata`
|
1731
1738
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
@@ -1745,6 +1752,7 @@ module Google
|
|
1745
1752
|
|
1746
1753
|
# Update properties of this object
|
1747
1754
|
def update!(**args)
|
1755
|
+
@default = args[:default] if args.key?(:default)
|
1748
1756
|
@metadata = args[:metadata] if args.key?(:metadata)
|
1749
1757
|
@url = args[:url] if args.key?(:url)
|
1750
1758
|
end
|
@@ -763,6 +763,7 @@ module Google
|
|
763
763
|
class Photo
|
764
764
|
# @private
|
765
765
|
class Representation < Google::Apis::Core::JsonRepresentation
|
766
|
+
property :default, as: 'default'
|
766
767
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
767
768
|
|
768
769
|
property :url, as: 'url'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-control/
|
27
27
|
module ServicecontrolV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20170909'
|
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'
|
@@ -1064,11 +1064,10 @@ module Google
|
|
1064
1064
|
# @return [String]
|
1065
1065
|
attr_accessor :resource_container
|
1066
1066
|
|
1067
|
-
#
|
1068
|
-
#
|
1069
|
-
#
|
1070
|
-
|
1071
|
-
attr_accessor :resource_containers
|
1067
|
+
#
|
1068
|
+
# Corresponds to the JSON property `resources`
|
1069
|
+
# @return [Array<Google::Apis::ServicecontrolV1::ResourceInfo>]
|
1070
|
+
attr_accessor :resources
|
1072
1071
|
|
1073
1072
|
# Required. Start time of the operation.
|
1074
1073
|
# Corresponds to the JSON property `startTime`
|
@@ -1097,7 +1096,7 @@ module Google
|
|
1097
1096
|
@operation_name = args[:operation_name] if args.key?(:operation_name)
|
1098
1097
|
@quota_properties = args[:quota_properties] if args.key?(:quota_properties)
|
1099
1098
|
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
1100
|
-
@
|
1099
|
+
@resources = args[:resources] if args.key?(:resources)
|
1101
1100
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1102
1101
|
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
1103
1102
|
end
|
@@ -1582,6 +1581,36 @@ module Google
|
|
1582
1581
|
end
|
1583
1582
|
end
|
1584
1583
|
|
1584
|
+
# DO NOT USE.
|
1585
|
+
# This definition is not ready for use yet.
|
1586
|
+
class ResourceInfo
|
1587
|
+
include Google::Apis::Core::Hashable
|
1588
|
+
|
1589
|
+
# The identifier of the parent of this resource instance.
|
1590
|
+
# Must be in one of the following formats:
|
1591
|
+
# - “projects/<project-id or project-number>”
|
1592
|
+
# - “folders/<folder-id>”
|
1593
|
+
# - “organizations/<organization-id>”
|
1594
|
+
# Corresponds to the JSON property `resourceContainer`
|
1595
|
+
# @return [String]
|
1596
|
+
attr_accessor :resource_container
|
1597
|
+
|
1598
|
+
# Name of the resource. This is used for auditing purposes.
|
1599
|
+
# Corresponds to the JSON property `resourceName`
|
1600
|
+
# @return [String]
|
1601
|
+
attr_accessor :resource_name
|
1602
|
+
|
1603
|
+
def initialize(**args)
|
1604
|
+
update!(**args)
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
# Update properties of this object
|
1608
|
+
def update!(**args)
|
1609
|
+
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
1610
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1611
|
+
end
|
1612
|
+
end
|
1613
|
+
|
1585
1614
|
#
|
1586
1615
|
class StartReconciliationRequest
|
1587
1616
|
include Google::Apis::Core::Hashable
|
@@ -214,6 +214,12 @@ module Google
|
|
214
214
|
include Google::Apis::Core::JsonObjectSupport
|
215
215
|
end
|
216
216
|
|
217
|
+
class ResourceInfo
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
217
223
|
class StartReconciliationRequest
|
218
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
225
|
|
@@ -471,7 +477,8 @@ module Google
|
|
471
477
|
property :quota_properties, as: 'quotaProperties', class: Google::Apis::ServicecontrolV1::QuotaProperties, decorator: Google::Apis::ServicecontrolV1::QuotaProperties::Representation
|
472
478
|
|
473
479
|
property :resource_container, as: 'resourceContainer'
|
474
|
-
collection :
|
480
|
+
collection :resources, as: 'resources', class: Google::Apis::ServicecontrolV1::ResourceInfo, decorator: Google::Apis::ServicecontrolV1::ResourceInfo::Representation
|
481
|
+
|
475
482
|
property :start_time, as: 'startTime'
|
476
483
|
hash :user_labels, as: 'userLabels'
|
477
484
|
end
|
@@ -584,6 +591,14 @@ module Google
|
|
584
591
|
end
|
585
592
|
end
|
586
593
|
|
594
|
+
class ResourceInfo
|
595
|
+
# @private
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
597
|
+
property :resource_container, as: 'resourceContainer'
|
598
|
+
property :resource_name, as: 'resourceName'
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
587
602
|
class StartReconciliationRequest
|
588
603
|
# @private
|
589
604
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
28
28
|
module ServicemanagementV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20170908'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -525,7 +525,7 @@ module Google
|
|
525
525
|
attr_accessor :address
|
526
526
|
|
527
527
|
# The number of seconds to wait for a response from a request. The default
|
528
|
-
# deadline for gRPC and HTTP requests is 5 seconds.
|
528
|
+
# deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds.
|
529
529
|
# Corresponds to the JSON property `deadline`
|
530
530
|
# @return [Float]
|
531
531
|
attr_accessor :deadline
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
28
28
|
module ServiceuserV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20170908'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -424,7 +424,7 @@ module Google
|
|
424
424
|
attr_accessor :address
|
425
425
|
|
426
426
|
# The number of seconds to wait for a response from a request. The default
|
427
|
-
# deadline for gRPC and HTTP requests is 5 seconds.
|
427
|
+
# deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds.
|
428
428
|
# Corresponds to the JSON property `deadline`
|
429
429
|
# @return [Float]
|
430
430
|
attr_accessor :deadline
|
@@ -25,11 +25,14 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/source-repositories/docs/apis
|
26
26
|
module SourcerepoV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170908'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
32
32
|
|
33
|
+
# Manage your source code repositories
|
34
|
+
AUTH_SOURCE_FULL_CONTROL = 'https://www.googleapis.com/auth/source.full_control'
|
35
|
+
|
33
36
|
# View the contents of your source code repositories
|
34
37
|
AUTH_SOURCE_READ_ONLY = 'https://www.googleapis.com/auth/source.read_only'
|
35
38
|
|
@@ -149,6 +149,14 @@ module Google
|
|
149
149
|
class Binding
|
150
150
|
include Google::Apis::Core::Hashable
|
151
151
|
|
152
|
+
# Represents an expression text. Example:
|
153
|
+
# title: "User account presence"
|
154
|
+
# description: "Determines whether the request has a user account"
|
155
|
+
# expression: "size(request.user) > 0"
|
156
|
+
# Corresponds to the JSON property `condition`
|
157
|
+
# @return [Google::Apis::SourcerepoV1::Expr]
|
158
|
+
attr_accessor :condition
|
159
|
+
|
152
160
|
# Specifies the identities requesting access for a Cloud Platform resource.
|
153
161
|
# `members` can have the following values:
|
154
162
|
# * `allUsers`: A special identifier that represents anyone who is
|
@@ -180,127 +188,64 @@ module Google
|
|
180
188
|
|
181
189
|
# Update properties of this object
|
182
190
|
def update!(**args)
|
191
|
+
@condition = args[:condition] if args.key?(:condition)
|
183
192
|
@members = args[:members] if args.key?(:members)
|
184
193
|
@role = args[:role] if args.key?(:role)
|
185
194
|
end
|
186
195
|
end
|
187
196
|
|
188
|
-
#
|
189
|
-
|
197
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
198
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
199
|
+
# or the response type of an API method. For instance:
|
200
|
+
# service Foo `
|
201
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
202
|
+
# `
|
203
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
204
|
+
class Empty
|
190
205
|
include Google::Apis::Core::Hashable
|
191
206
|
|
192
|
-
# The log_name to populate in the Cloud Audit Record.
|
193
|
-
# Corresponds to the JSON property `logName`
|
194
|
-
# @return [String]
|
195
|
-
attr_accessor :log_name
|
196
|
-
|
197
207
|
def initialize(**args)
|
198
208
|
update!(**args)
|
199
209
|
end
|
200
210
|
|
201
211
|
# Update properties of this object
|
202
212
|
def update!(**args)
|
203
|
-
@log_name = args[:log_name] if args.key?(:log_name)
|
204
213
|
end
|
205
214
|
end
|
206
215
|
|
207
|
-
#
|
208
|
-
|
216
|
+
# Represents an expression text. Example:
|
217
|
+
# title: "User account presence"
|
218
|
+
# description: "Determines whether the request has a user account"
|
219
|
+
# expression: "size(request.user) > 0"
|
220
|
+
class Expr
|
209
221
|
include Google::Apis::Core::Hashable
|
210
222
|
|
211
|
-
#
|
212
|
-
#
|
213
|
-
#
|
214
|
-
attr_accessor :iam
|
215
|
-
|
216
|
-
# An operator to apply the subject with.
|
217
|
-
# Corresponds to the JSON property `op`
|
223
|
+
# An optional description of the expression. This is a longer text which
|
224
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
225
|
+
# Corresponds to the JSON property `description`
|
218
226
|
# @return [String]
|
219
|
-
attr_accessor :
|
227
|
+
attr_accessor :description
|
220
228
|
|
221
|
-
#
|
222
|
-
#
|
229
|
+
# Textual representation of an expression in
|
230
|
+
# Common Expression Language syntax.
|
231
|
+
# The application context of the containing message determines which
|
232
|
+
# well-known feature set of CEL is supported.
|
233
|
+
# Corresponds to the JSON property `expression`
|
223
234
|
# @return [String]
|
224
|
-
attr_accessor :
|
235
|
+
attr_accessor :expression
|
225
236
|
|
226
|
-
#
|
227
|
-
#
|
228
|
-
# Corresponds to the JSON property `
|
237
|
+
# An optional string indicating the location of the expression for error
|
238
|
+
# reporting, e.g. a file name and a position in the file.
|
239
|
+
# Corresponds to the JSON property `location`
|
229
240
|
# @return [String]
|
230
|
-
attr_accessor :
|
241
|
+
attr_accessor :location
|
231
242
|
|
232
|
-
#
|
233
|
-
#
|
243
|
+
# An optional title for the expression, i.e. a short string describing
|
244
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
245
|
+
# expression.
|
246
|
+
# Corresponds to the JSON property `title`
|
234
247
|
# @return [String]
|
235
|
-
attr_accessor :
|
236
|
-
|
237
|
-
# The objects of the condition. This is mutually exclusive with 'value'.
|
238
|
-
# Corresponds to the JSON property `values`
|
239
|
-
# @return [Array<String>]
|
240
|
-
attr_accessor :values
|
241
|
-
|
242
|
-
def initialize(**args)
|
243
|
-
update!(**args)
|
244
|
-
end
|
245
|
-
|
246
|
-
# Update properties of this object
|
247
|
-
def update!(**args)
|
248
|
-
@iam = args[:iam] if args.key?(:iam)
|
249
|
-
@op = args[:op] if args.key?(:op)
|
250
|
-
@svc = args[:svc] if args.key?(:svc)
|
251
|
-
@sys = args[:sys] if args.key?(:sys)
|
252
|
-
@value = args[:value] if args.key?(:value)
|
253
|
-
@values = args[:values] if args.key?(:values)
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
# Options for counters
|
258
|
-
class CounterOptions
|
259
|
-
include Google::Apis::Core::Hashable
|
260
|
-
|
261
|
-
# The field value to attribute.
|
262
|
-
# Corresponds to the JSON property `field`
|
263
|
-
# @return [String]
|
264
|
-
attr_accessor :field
|
265
|
-
|
266
|
-
# The metric to update.
|
267
|
-
# Corresponds to the JSON property `metric`
|
268
|
-
# @return [String]
|
269
|
-
attr_accessor :metric
|
270
|
-
|
271
|
-
def initialize(**args)
|
272
|
-
update!(**args)
|
273
|
-
end
|
274
|
-
|
275
|
-
# Update properties of this object
|
276
|
-
def update!(**args)
|
277
|
-
@field = args[:field] if args.key?(:field)
|
278
|
-
@metric = args[:metric] if args.key?(:metric)
|
279
|
-
end
|
280
|
-
end
|
281
|
-
|
282
|
-
# Write a Data Access (Gin) log
|
283
|
-
class DataAccessOptions
|
284
|
-
include Google::Apis::Core::Hashable
|
285
|
-
|
286
|
-
def initialize(**args)
|
287
|
-
update!(**args)
|
288
|
-
end
|
289
|
-
|
290
|
-
# Update properties of this object
|
291
|
-
def update!(**args)
|
292
|
-
end
|
293
|
-
end
|
294
|
-
|
295
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
296
|
-
# empty messages in your APIs. A typical example is to use it as the request
|
297
|
-
# or the response type of an API method. For instance:
|
298
|
-
# service Foo `
|
299
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
300
|
-
# `
|
301
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
302
|
-
class Empty
|
303
|
-
include Google::Apis::Core::Hashable
|
248
|
+
attr_accessor :title
|
304
249
|
|
305
250
|
def initialize(**args)
|
306
251
|
update!(**args)
|
@@ -308,6 +253,10 @@ module Google
|
|
308
253
|
|
309
254
|
# Update properties of this object
|
310
255
|
def update!(**args)
|
256
|
+
@description = args[:description] if args.key?(:description)
|
257
|
+
@expression = args[:expression] if args.key?(:expression)
|
258
|
+
@location = args[:location] if args.key?(:location)
|
259
|
+
@title = args[:title] if args.key?(:title)
|
311
260
|
end
|
312
261
|
end
|
313
262
|
|
@@ -338,37 +287,6 @@ module Google
|
|
338
287
|
end
|
339
288
|
end
|
340
289
|
|
341
|
-
# Specifies what kind of log the caller must write
|
342
|
-
class LogConfig
|
343
|
-
include Google::Apis::Core::Hashable
|
344
|
-
|
345
|
-
# Write a Cloud Audit log
|
346
|
-
# Corresponds to the JSON property `cloudAudit`
|
347
|
-
# @return [Google::Apis::SourcerepoV1::CloudAuditOptions]
|
348
|
-
attr_accessor :cloud_audit
|
349
|
-
|
350
|
-
# Options for counters
|
351
|
-
# Corresponds to the JSON property `counter`
|
352
|
-
# @return [Google::Apis::SourcerepoV1::CounterOptions]
|
353
|
-
attr_accessor :counter
|
354
|
-
|
355
|
-
# Write a Data Access (Gin) log
|
356
|
-
# Corresponds to the JSON property `dataAccess`
|
357
|
-
# @return [Google::Apis::SourcerepoV1::DataAccessOptions]
|
358
|
-
attr_accessor :data_access
|
359
|
-
|
360
|
-
def initialize(**args)
|
361
|
-
update!(**args)
|
362
|
-
end
|
363
|
-
|
364
|
-
# Update properties of this object
|
365
|
-
def update!(**args)
|
366
|
-
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
|
367
|
-
@counter = args[:counter] if args.key?(:counter)
|
368
|
-
@data_access = args[:data_access] if args.key?(:data_access)
|
369
|
-
end
|
370
|
-
end
|
371
|
-
|
372
290
|
# Configuration to automatically mirror a repository from another
|
373
291
|
# hosting service, for example GitHub or BitBucket.
|
374
292
|
class MirrorConfig
|
@@ -441,7 +359,6 @@ module Google
|
|
441
359
|
attr_accessor :audit_configs
|
442
360
|
|
443
361
|
# Associates a list of `members` to a `role`.
|
444
|
-
# Multiple `bindings` must not be specified for the same `role`.
|
445
362
|
# `bindings` with no members will result in an error.
|
446
363
|
# Corresponds to the JSON property `bindings`
|
447
364
|
# @return [Array<Google::Apis::SourcerepoV1::Binding>]
|
@@ -467,19 +384,6 @@ module Google
|
|
467
384
|
attr_accessor :iam_owned
|
468
385
|
alias_method :iam_owned?, :iam_owned
|
469
386
|
|
470
|
-
# If more than one rule is specified, the rules are applied in the following
|
471
|
-
# manner:
|
472
|
-
# - All matching LOG rules are always applied.
|
473
|
-
# - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
|
474
|
-
# Logging will be applied if one or more matching rule requires logging.
|
475
|
-
# - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
|
476
|
-
# granted.
|
477
|
-
# Logging will be applied if one or more matching rule requires logging.
|
478
|
-
# - Otherwise, if no rule applies, permission is denied.
|
479
|
-
# Corresponds to the JSON property `rules`
|
480
|
-
# @return [Array<Google::Apis::SourcerepoV1::Rule>]
|
481
|
-
attr_accessor :rules
|
482
|
-
|
483
387
|
# Version of the `Policy`. The default version is 0.
|
484
388
|
# Corresponds to the JSON property `version`
|
485
389
|
# @return [Fixnum]
|
@@ -495,7 +399,6 @@ module Google
|
|
495
399
|
@bindings = args[:bindings] if args.key?(:bindings)
|
496
400
|
@etag = args[:etag] if args.key?(:etag)
|
497
401
|
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
498
|
-
@rules = args[:rules] if args.key?(:rules)
|
499
402
|
@version = args[:version] if args.key?(:version)
|
500
403
|
end
|
501
404
|
end
|
@@ -541,68 +444,6 @@ module Google
|
|
541
444
|
end
|
542
445
|
end
|
543
446
|
|
544
|
-
# A rule to be applied in a Policy.
|
545
|
-
class Rule
|
546
|
-
include Google::Apis::Core::Hashable
|
547
|
-
|
548
|
-
# Required
|
549
|
-
# Corresponds to the JSON property `action`
|
550
|
-
# @return [String]
|
551
|
-
attr_accessor :action
|
552
|
-
|
553
|
-
# Additional restrictions that must be met
|
554
|
-
# Corresponds to the JSON property `conditions`
|
555
|
-
# @return [Array<Google::Apis::SourcerepoV1::Condition>]
|
556
|
-
attr_accessor :conditions
|
557
|
-
|
558
|
-
# Human-readable description of the rule.
|
559
|
-
# Corresponds to the JSON property `description`
|
560
|
-
# @return [String]
|
561
|
-
attr_accessor :description
|
562
|
-
|
563
|
-
# If one or more 'in' clauses are specified, the rule matches if
|
564
|
-
# the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
|
565
|
-
# Corresponds to the JSON property `in`
|
566
|
-
# @return [Array<String>]
|
567
|
-
attr_accessor :in
|
568
|
-
|
569
|
-
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
|
570
|
-
# that match the LOG action.
|
571
|
-
# Corresponds to the JSON property `logConfig`
|
572
|
-
# @return [Array<Google::Apis::SourcerepoV1::LogConfig>]
|
573
|
-
attr_accessor :log_config
|
574
|
-
|
575
|
-
# If one or more 'not_in' clauses are specified, the rule matches
|
576
|
-
# if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
577
|
-
# The format for in and not_in entries is the same as for members in a
|
578
|
-
# Binding (see google/iam/v1/policy.proto).
|
579
|
-
# Corresponds to the JSON property `notIn`
|
580
|
-
# @return [Array<String>]
|
581
|
-
attr_accessor :not_in
|
582
|
-
|
583
|
-
# A permission is a string of form '<service>.<resource type>.<verb>'
|
584
|
-
# (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
|
585
|
-
# and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
|
586
|
-
# Corresponds to the JSON property `permissions`
|
587
|
-
# @return [Array<String>]
|
588
|
-
attr_accessor :permissions
|
589
|
-
|
590
|
-
def initialize(**args)
|
591
|
-
update!(**args)
|
592
|
-
end
|
593
|
-
|
594
|
-
# Update properties of this object
|
595
|
-
def update!(**args)
|
596
|
-
@action = args[:action] if args.key?(:action)
|
597
|
-
@conditions = args[:conditions] if args.key?(:conditions)
|
598
|
-
@description = args[:description] if args.key?(:description)
|
599
|
-
@in = args[:in] if args.key?(:in)
|
600
|
-
@log_config = args[:log_config] if args.key?(:log_config)
|
601
|
-
@not_in = args[:not_in] if args.key?(:not_in)
|
602
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
603
|
-
end
|
604
|
-
end
|
605
|
-
|
606
447
|
# Request message for `SetIamPolicy` method.
|
607
448
|
class SetIamPolicyRequest
|
608
449
|
include Google::Apis::Core::Hashable
|