google-api-client 0.19.4 → 0.19.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +3 -3
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +4 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +53 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +19 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -13
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +4 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -136
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -33
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +197 -165
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +86 -75
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +194 -2
- data/generated/google/apis/content_v2/representations.rb +72 -0
- data/generated/google/apis/content_v2/service.rb +35 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/service.rb +22 -28
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +8 -5
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +8 -5
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +8 -5
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/service.rb +25 -13
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +7 -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 +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/firebaseremoteconfig_v1.rb +1 -1
- data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +52 -0
- data/generated/google/apis/gmail_v1/representations.rb +16 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +69 -0
- data/generated/google/apis/iam_v1/representations.rb +41 -0
- data/generated/google/apis/iam_v1/service.rb +31 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +7 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +0 -31
- data/generated/google/apis/partners_v2/representations.rb +0 -15
- data/generated/google/apis/partners_v2/service.rb +0 -55
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +7 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +14 -7
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +95 -11
- data/generated/google/apis/tpu_v1alpha1/representations.rb +54 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +139 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +128 -0
- data/generated/google/apis/vision_v1/representations.rb +43 -0
- 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 +0 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 389968841f5d24859ff2b0259092351355f8a35b
|
4
|
+
data.tar.gz: c250cdc5f11262fd8cec2987bd891687309837b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcd2e5616a28567bd1957dbfce955e35e6b17ae3e925f4dbbbc52c10eeb3ce419afb7ef17f206422993662aec598f9a7dc5e1e4c0192e74e474db04bdeab4656
|
7
|
+
data.tar.gz: d5ee11bea4e790f6716ce40b17971b95e91cf10de4d16f8aaf37362f83f65b00471475de2585c9dd709527608e57a0576d01967e90cc4df9b99baeeabef55fac
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,38 @@
|
|
1
|
+
# 0.19.5
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Updated `androiddeviceprovisioning_v1`
|
4
|
+
* Updated `appengine_v1beta`
|
5
|
+
* Updated `appsactivity_v1`
|
6
|
+
* Updated `bigquery_v2`
|
7
|
+
* Updated `cloudiot_v1`
|
8
|
+
* Updated `cloudresourcemanager_v1`
|
9
|
+
* Updated `cloudresourcemanager_v1beta1`
|
10
|
+
* Updated `cloudresourcemanager_v2beta1`
|
11
|
+
* Updated `cloudtasks_v2beta2`
|
12
|
+
* Updated `content_v2`
|
13
|
+
* Updated `dataproc_v1beta2`
|
14
|
+
* Updated `deploymentmanager_alpha`
|
15
|
+
* Updated `deploymentmanager_v2`
|
16
|
+
* Updated `deploymentmanager_v2beta`
|
17
|
+
* Updated `dlp_v2beta2`
|
18
|
+
* Updated `dns_v1beta2`
|
19
|
+
* Updated `drive_v2`
|
20
|
+
* Updated `drive_v3`
|
21
|
+
* Updated `firebaseremoteconfig_v1`
|
22
|
+
* Updated `firestore_v1beta1`
|
23
|
+
* Updated `gmail_v1`
|
24
|
+
* Updated `iam_v1`
|
25
|
+
* Updated `ml_v1`
|
26
|
+
* Updated `monitoring_v3`
|
27
|
+
* Updated `partners_v2`
|
28
|
+
* Updated `safebrowsing_v4`
|
29
|
+
* Updated `sheets_v4`
|
30
|
+
* Updated `speech_v1`
|
31
|
+
* Updated `tpu_v1alpha1`
|
32
|
+
* Updated `vision_v1`
|
33
|
+
* Updated `youtube_partner_v1`
|
34
|
+
* Updated `youtube_v3`
|
35
|
+
|
1
36
|
# 0.19.4
|
2
37
|
* Backwards compatible changes:
|
3
38
|
* Updated `analytics_v3`
|
@@ -324,13 +324,13 @@ module Google
|
|
324
324
|
class CustomerListCustomersResponse
|
325
325
|
include Google::Apis::Core::Hashable
|
326
326
|
|
327
|
-
#
|
327
|
+
# The customer accounts the calling user is a member of.
|
328
328
|
# Corresponds to the JSON property `customers`
|
329
329
|
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::Company>]
|
330
330
|
attr_accessor :customers
|
331
331
|
|
332
|
-
#
|
333
|
-
#
|
332
|
+
# A token used to access the next page of results. Omitted if no further
|
333
|
+
# results are available.
|
334
334
|
# Corresponds to the JSON property `nextPageToken`
|
335
335
|
# @return [String]
|
336
336
|
attr_accessor :next_page_token
|
@@ -48,11 +48,12 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
#
|
51
|
+
# Lists the user's customer accounts.
|
52
52
|
# @param [Fixnum] page_size
|
53
|
-
# The maximum number of
|
53
|
+
# The maximum number of customers to show in a page of results.
|
54
|
+
# A number between 1 and 1000 (inclusive).
|
54
55
|
# @param [String] page_token
|
55
|
-
#
|
56
|
+
# A token specifying which result page to return.
|
56
57
|
# @param [String] fields
|
57
58
|
# Selector specifying which fields to include in a partial response.
|
58
59
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
27
27
|
module AppengineV1beta
|
28
28
|
VERSION = 'V1beta'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180118'
|
30
30
|
|
31
31
|
# View and manage your applications deployed on Google App Engine
|
32
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
@@ -322,6 +322,11 @@ module Google
|
|
322
322
|
# @return [Google::Apis::AppengineV1beta::CpuUtilization]
|
323
323
|
attr_accessor :cpu_utilization
|
324
324
|
|
325
|
+
# Target scaling by user-provided metrics.
|
326
|
+
# Corresponds to the JSON property `customMetrics`
|
327
|
+
# @return [Array<Google::Apis::AppengineV1beta::CustomMetric>]
|
328
|
+
attr_accessor :custom_metrics
|
329
|
+
|
325
330
|
# Target scaling by disk usage. Only applicable in the App Engine flexible
|
326
331
|
# environment.
|
327
332
|
# Corresponds to the JSON property `diskUtilization`
|
@@ -392,6 +397,7 @@ module Google
|
|
392
397
|
def update!(**args)
|
393
398
|
@cool_down_period = args[:cool_down_period] if args.key?(:cool_down_period)
|
394
399
|
@cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
|
400
|
+
@custom_metrics = args[:custom_metrics] if args.key?(:custom_metrics)
|
395
401
|
@disk_utilization = args[:disk_utilization] if args.key?(:disk_utilization)
|
396
402
|
@max_concurrent_requests = args[:max_concurrent_requests] if args.key?(:max_concurrent_requests)
|
397
403
|
@max_idle_instances = args[:max_idle_instances] if args.key?(:max_idle_instances)
|
@@ -643,6 +649,53 @@ module Google
|
|
643
649
|
end
|
644
650
|
end
|
645
651
|
|
652
|
+
# Allows autoscaling based on Stackdriver metrics.
|
653
|
+
class CustomMetric
|
654
|
+
include Google::Apis::Core::Hashable
|
655
|
+
|
656
|
+
# Allows filtering on the metric's fields.
|
657
|
+
# Corresponds to the JSON property `filter`
|
658
|
+
# @return [String]
|
659
|
+
attr_accessor :filter
|
660
|
+
|
661
|
+
# The name of the metric.
|
662
|
+
# Corresponds to the JSON property `metricName`
|
663
|
+
# @return [String]
|
664
|
+
attr_accessor :metric_name
|
665
|
+
|
666
|
+
# May be used instead of target_utilization when an instance can handle a
|
667
|
+
# specific amount of work/resources and the metric value is equal to the current
|
668
|
+
# amount of work remaining. The autoscaler will try to keep the number of
|
669
|
+
# instances equal to the metric value divided by single_instance_assignment.
|
670
|
+
# Corresponds to the JSON property `singleInstanceAssignment`
|
671
|
+
# @return [Float]
|
672
|
+
attr_accessor :single_instance_assignment
|
673
|
+
|
674
|
+
# The type of the metric. Must be a string representing a Stackdriver metric
|
675
|
+
# type e.g. GAGUE, DELTA_PER_SECOND, etc.
|
676
|
+
# Corresponds to the JSON property `targetType`
|
677
|
+
# @return [String]
|
678
|
+
attr_accessor :target_type
|
679
|
+
|
680
|
+
# The target value for the metric.
|
681
|
+
# Corresponds to the JSON property `targetUtilization`
|
682
|
+
# @return [Float]
|
683
|
+
attr_accessor :target_utilization
|
684
|
+
|
685
|
+
def initialize(**args)
|
686
|
+
update!(**args)
|
687
|
+
end
|
688
|
+
|
689
|
+
# Update properties of this object
|
690
|
+
def update!(**args)
|
691
|
+
@filter = args[:filter] if args.key?(:filter)
|
692
|
+
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
693
|
+
@single_instance_assignment = args[:single_instance_assignment] if args.key?(:single_instance_assignment)
|
694
|
+
@target_type = args[:target_type] if args.key?(:target_type)
|
695
|
+
@target_utilization = args[:target_utilization] if args.key?(:target_utilization)
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
646
699
|
# Request message for Instances.DebugInstance.
|
647
700
|
class DebugInstanceRequest
|
648
701
|
include Google::Apis::Core::Hashable
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class CustomMetric
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class DebugInstanceRequest
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -507,6 +513,8 @@ module Google
|
|
507
513
|
property :cool_down_period, as: 'coolDownPeriod'
|
508
514
|
property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AppengineV1beta::CpuUtilization, decorator: Google::Apis::AppengineV1beta::CpuUtilization::Representation
|
509
515
|
|
516
|
+
collection :custom_metrics, as: 'customMetrics', class: Google::Apis::AppengineV1beta::CustomMetric, decorator: Google::Apis::AppengineV1beta::CustomMetric::Representation
|
517
|
+
|
510
518
|
property :disk_utilization, as: 'diskUtilization', class: Google::Apis::AppengineV1beta::DiskUtilization, decorator: Google::Apis::AppengineV1beta::DiskUtilization::Representation
|
511
519
|
|
512
520
|
property :max_concurrent_requests, as: 'maxConcurrentRequests'
|
@@ -601,6 +609,17 @@ module Google
|
|
601
609
|
end
|
602
610
|
end
|
603
611
|
|
612
|
+
class CustomMetric
|
613
|
+
# @private
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
615
|
+
property :filter, as: 'filter'
|
616
|
+
property :metric_name, as: 'metricName'
|
617
|
+
property :single_instance_assignment, as: 'singleInstanceAssignment'
|
618
|
+
property :target_type, as: 'targetType'
|
619
|
+
property :target_utilization, as: 'targetUtilization'
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
604
623
|
class DebugInstanceRequest
|
605
624
|
# @private
|
606
625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,22 +25,10 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/activity/
|
26
26
|
module AppsactivityV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180124'
|
29
29
|
|
30
30
|
# View the activity history of your Google apps
|
31
31
|
AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'
|
32
|
-
|
33
|
-
# View and manage the files in your Google Drive
|
34
|
-
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
35
|
-
|
36
|
-
# View and manage metadata of files in your Google Drive
|
37
|
-
AUTH_DRIVE_METADATA = 'https://www.googleapis.com/auth/drive.metadata'
|
38
|
-
|
39
|
-
# View metadata for files in your Google Drive
|
40
|
-
AUTH_DRIVE_METADATA_READONLY = 'https://www.googleapis.com/auth/drive.metadata.readonly'
|
41
|
-
|
42
|
-
# View the files in your Google Drive
|
43
|
-
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
|
44
32
|
end
|
45
33
|
end
|
46
34
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180117'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -1989,14 +1989,14 @@ module Google
|
|
1989
1989
|
# @return [Array<Google::Apis::BigqueryV2::ExplainQueryStage>]
|
1990
1990
|
attr_accessor :query_plan
|
1991
1991
|
|
1992
|
-
# [Output-only
|
1993
|
-
#
|
1992
|
+
# [Output-only] Referenced tables for the job. Queries that reference more than
|
1993
|
+
# 50 tables will not have a complete list.
|
1994
1994
|
# Corresponds to the JSON property `referencedTables`
|
1995
1995
|
# @return [Array<Google::Apis::BigqueryV2::TableReference>]
|
1996
1996
|
attr_accessor :referenced_tables
|
1997
1997
|
|
1998
|
-
# [Output-only
|
1999
|
-
#
|
1998
|
+
# [Output-only] The schema of the results. Present only for successful dry run
|
1999
|
+
# of non-legacy SQL queries.
|
2000
2000
|
# Corresponds to the JSON property `schema`
|
2001
2001
|
# @return [Google::Apis::BigqueryV2::TableSchema]
|
2002
2002
|
attr_accessor :schema
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/iot
|
27
27
|
module CloudiotV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180118'
|
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'
|
@@ -22,129 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudiotV1
|
24
24
|
|
25
|
-
# Specifies the audit configuration for a service.
|
26
|
-
# The configuration determines which permission types are logged, and what
|
27
|
-
# identities, if any, are exempted from logging.
|
28
|
-
# An AuditConfig must have one or more AuditLogConfigs.
|
29
|
-
# If there are AuditConfigs for both `allServices` and a specific service,
|
30
|
-
# the union of the two AuditConfigs is used for that service: the log_types
|
31
|
-
# specified in each AuditConfig are enabled, and the exempted_members in each
|
32
|
-
# AuditConfig are exempted.
|
33
|
-
# Example Policy with multiple AuditConfigs:
|
34
|
-
# `
|
35
|
-
# "audit_configs": [
|
36
|
-
# `
|
37
|
-
# "service": "allServices"
|
38
|
-
# "audit_log_configs": [
|
39
|
-
# `
|
40
|
-
# "log_type": "DATA_READ",
|
41
|
-
# "exempted_members": [
|
42
|
-
# "user:foo@gmail.com"
|
43
|
-
# ]
|
44
|
-
# `,
|
45
|
-
# `
|
46
|
-
# "log_type": "DATA_WRITE",
|
47
|
-
# `,
|
48
|
-
# `
|
49
|
-
# "log_type": "ADMIN_READ",
|
50
|
-
# `
|
51
|
-
# ]
|
52
|
-
# `,
|
53
|
-
# `
|
54
|
-
# "service": "fooservice.googleapis.com"
|
55
|
-
# "audit_log_configs": [
|
56
|
-
# `
|
57
|
-
# "log_type": "DATA_READ",
|
58
|
-
# `,
|
59
|
-
# `
|
60
|
-
# "log_type": "DATA_WRITE",
|
61
|
-
# "exempted_members": [
|
62
|
-
# "user:bar@gmail.com"
|
63
|
-
# ]
|
64
|
-
# `
|
65
|
-
# ]
|
66
|
-
# `
|
67
|
-
# ]
|
68
|
-
# `
|
69
|
-
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
70
|
-
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
71
|
-
# bar@gmail.com from DATA_WRITE logging.
|
72
|
-
class AuditConfig
|
73
|
-
include Google::Apis::Core::Hashable
|
74
|
-
|
75
|
-
# The configuration for logging of each type of permission.
|
76
|
-
# Next ID: 4
|
77
|
-
# Corresponds to the JSON property `auditLogConfigs`
|
78
|
-
# @return [Array<Google::Apis::CloudiotV1::AuditLogConfig>]
|
79
|
-
attr_accessor :audit_log_configs
|
80
|
-
|
81
|
-
#
|
82
|
-
# Corresponds to the JSON property `exemptedMembers`
|
83
|
-
# @return [Array<String>]
|
84
|
-
attr_accessor :exempted_members
|
85
|
-
|
86
|
-
# Specifies a service that will be enabled for audit logging.
|
87
|
-
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
88
|
-
# `allServices` is a special value that covers all services.
|
89
|
-
# Corresponds to the JSON property `service`
|
90
|
-
# @return [String]
|
91
|
-
attr_accessor :service
|
92
|
-
|
93
|
-
def initialize(**args)
|
94
|
-
update!(**args)
|
95
|
-
end
|
96
|
-
|
97
|
-
# Update properties of this object
|
98
|
-
def update!(**args)
|
99
|
-
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
100
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
101
|
-
@service = args[:service] if args.key?(:service)
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
# Provides the configuration for logging a type of permissions.
|
106
|
-
# Example:
|
107
|
-
# `
|
108
|
-
# "audit_log_configs": [
|
109
|
-
# `
|
110
|
-
# "log_type": "DATA_READ",
|
111
|
-
# "exempted_members": [
|
112
|
-
# "user:foo@gmail.com"
|
113
|
-
# ]
|
114
|
-
# `,
|
115
|
-
# `
|
116
|
-
# "log_type": "DATA_WRITE",
|
117
|
-
# `
|
118
|
-
# ]
|
119
|
-
# `
|
120
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
121
|
-
# foo@gmail.com from DATA_READ logging.
|
122
|
-
class AuditLogConfig
|
123
|
-
include Google::Apis::Core::Hashable
|
124
|
-
|
125
|
-
# Specifies the identities that do not cause logging for this type of
|
126
|
-
# permission.
|
127
|
-
# Follows the same format of Binding.members.
|
128
|
-
# Corresponds to the JSON property `exemptedMembers`
|
129
|
-
# @return [Array<String>]
|
130
|
-
attr_accessor :exempted_members
|
131
|
-
|
132
|
-
# The log type that this config enables.
|
133
|
-
# Corresponds to the JSON property `logType`
|
134
|
-
# @return [String]
|
135
|
-
attr_accessor :log_type
|
136
|
-
|
137
|
-
def initialize(**args)
|
138
|
-
update!(**args)
|
139
|
-
end
|
140
|
-
|
141
|
-
# Update properties of this object
|
142
|
-
def update!(**args)
|
143
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
144
|
-
@log_type = args[:log_type] if args.key?(:log_type)
|
145
|
-
end
|
146
|
-
end
|
147
|
-
|
148
25
|
# Associates `members` with a `role`.
|
149
26
|
class Binding
|
150
27
|
include Google::Apis::Core::Hashable
|
@@ -835,11 +712,6 @@ module Google
|
|
835
712
|
class Policy
|
836
713
|
include Google::Apis::Core::Hashable
|
837
714
|
|
838
|
-
# Specifies cloud audit logging configuration for this policy.
|
839
|
-
# Corresponds to the JSON property `auditConfigs`
|
840
|
-
# @return [Array<Google::Apis::CloudiotV1::AuditConfig>]
|
841
|
-
attr_accessor :audit_configs
|
842
|
-
|
843
715
|
# Associates a list of `members` to a `role`.
|
844
716
|
# `bindings` with no members will result in an error.
|
845
717
|
# Corresponds to the JSON property `bindings`
|
@@ -860,12 +732,6 @@ module Google
|
|
860
732
|
# @return [String]
|
861
733
|
attr_accessor :etag
|
862
734
|
|
863
|
-
#
|
864
|
-
# Corresponds to the JSON property `iamOwned`
|
865
|
-
# @return [Boolean]
|
866
|
-
attr_accessor :iam_owned
|
867
|
-
alias_method :iam_owned?, :iam_owned
|
868
|
-
|
869
735
|
# Deprecated.
|
870
736
|
# Corresponds to the JSON property `version`
|
871
737
|
# @return [Fixnum]
|
@@ -877,10 +743,8 @@ module Google
|
|
877
743
|
|
878
744
|
# Update properties of this object
|
879
745
|
def update!(**args)
|
880
|
-
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
881
746
|
@bindings = args[:bindings] if args.key?(:bindings)
|
882
747
|
@etag = args[:etag] if args.key?(:etag)
|
883
|
-
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
884
748
|
@version = args[:version] if args.key?(:version)
|
885
749
|
end
|
886
750
|
end
|