google-api-client 0.30.0 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +8 -74
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +8 -74
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +16 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +8 -74
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +8 -74
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +11 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +9 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +255 -155
- data/generated/google/apis/compute_alpha/representations.rb +4 -3
- data/generated/google/apis/compute_alpha/service.rb +11 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +2818 -235
- data/generated/google/apis/compute_beta/representations.rb +957 -0
- data/generated/google/apis/compute_beta/service.rb +2371 -475
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +239 -92
- data/generated/google/apis/compute_v1/representations.rb +19 -0
- data/generated/google/apis/compute_v1/service.rb +4 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +24 -0
- data/generated/google/apis/container_v1beta1/representations.rb +3 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +3 -4
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -0
- data/generated/google/apis/dlp_v2/representations.rb +29 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +7 -6
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +2 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +6 -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 +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +125 -0
- data/generated/google/apis/redis_v1/representations.rb +83 -0
- data/generated/google/apis/redis_v1/service.rb +78 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +125 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +83 -0
- data/generated/google/apis/redis_v1beta1/service.rb +78 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -76
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +10 -76
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -74
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -74
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -74
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -111
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -74
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +36 -20
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +36 -20
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +36 -20
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/bid-manager/
|
|
26
26
|
module DoubleclickbidmanagerV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190529'
|
|
29
29
|
|
|
30
30
|
# View and manage your reports in DoubleClick Bid Manager
|
|
31
31
|
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
|
26
26
|
module HealthcareV1alpha2
|
|
27
27
|
VERSION = 'V1alpha2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190527'
|
|
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'
|
|
@@ -1176,8 +1176,8 @@ module Google
|
|
|
1176
1176
|
# @return [String]
|
|
1177
1177
|
attr_accessor :dataset_uri
|
|
1178
1178
|
|
|
1179
|
-
# Configuration for the FHIR BigQuery and
|
|
1180
|
-
# generates the schema.
|
|
1179
|
+
# Configuration for the FHIR BigQuery and Cloud Storage schema. Determines
|
|
1180
|
+
# how the server generates the schema.
|
|
1181
1181
|
# Corresponds to the JSON property `schemaConfig`
|
|
1182
1182
|
# @return [Google::Apis::HealthcareV1alpha2::SchemaConfig]
|
|
1183
1183
|
attr_accessor :schema_config
|
|
@@ -2001,7 +2001,7 @@ module Google
|
|
|
2001
2001
|
class Message
|
|
2002
2002
|
include Google::Apis::Core::Hashable
|
|
2003
2003
|
|
|
2004
|
-
# The datetime when the message was created. Set by the server.
|
|
2004
|
+
# Output only. The datetime when the message was created. Set by the server.
|
|
2005
2005
|
# Corresponds to the JSON property `createTime`
|
|
2006
2006
|
# @return [String]
|
|
2007
2007
|
attr_accessor :create_time
|
|
@@ -2273,7 +2273,8 @@ module Google
|
|
|
2273
2273
|
alias_method :allow_null_header?, :allow_null_header
|
|
2274
2274
|
|
|
2275
2275
|
# Byte(s) to be used as the segment terminator. If this is unset, '\r' will
|
|
2276
|
-
# be used as segment terminator
|
|
2276
|
+
# be used as the segment terminator, matching the HL7 version 2
|
|
2277
|
+
# specification.
|
|
2277
2278
|
# Corresponds to the JSON property `segmentTerminator`
|
|
2278
2279
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
2279
2280
|
# @return [String]
|
|
@@ -2477,8 +2478,8 @@ module Google
|
|
|
2477
2478
|
end
|
|
2478
2479
|
end
|
|
2479
2480
|
|
|
2480
|
-
# Configuration for the FHIR BigQuery and
|
|
2481
|
-
# generates the schema.
|
|
2481
|
+
# Configuration for the FHIR BigQuery and Cloud Storage schema. Determines
|
|
2482
|
+
# how the server generates the schema.
|
|
2482
2483
|
class SchemaConfig
|
|
2483
2484
|
include Google::Apis::Core::Hashable
|
|
2484
2485
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
|
26
26
|
module HealthcareV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190527'
|
|
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'
|
|
@@ -1688,7 +1688,7 @@ module Google
|
|
|
1688
1688
|
class Message
|
|
1689
1689
|
include Google::Apis::Core::Hashable
|
|
1690
1690
|
|
|
1691
|
-
# The datetime when the message was created. Set by the server.
|
|
1691
|
+
# Output only. The datetime when the message was created. Set by the server.
|
|
1692
1692
|
# Corresponds to the JSON property `createTime`
|
|
1693
1693
|
# @return [String]
|
|
1694
1694
|
attr_accessor :create_time
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
|
27
27
|
module JobsV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190531'
|
|
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'
|
|
@@ -476,7 +476,7 @@ module Google
|
|
|
476
476
|
|
|
477
477
|
# Optional.
|
|
478
478
|
# Frequency of the specified amount.
|
|
479
|
-
# Default is CompensationUnit.
|
|
479
|
+
# Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
|
|
480
480
|
# Corresponds to the JSON property `unit`
|
|
481
481
|
# @return [String]
|
|
482
482
|
attr_accessor :unit
|
|
@@ -1237,7 +1237,7 @@ module Google
|
|
|
1237
1237
|
|
|
1238
1238
|
# Optional.
|
|
1239
1239
|
# Frequency of the specified amount.
|
|
1240
|
-
# Default is CompensationUnit.
|
|
1240
|
+
# Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
|
|
1241
1241
|
# Corresponds to the JSON property `unit`
|
|
1242
1242
|
# @return [String]
|
|
1243
1243
|
attr_accessor :unit
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
|
27
27
|
module JobsV3
|
|
28
28
|
VERSION = 'V3'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190531'
|
|
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'
|
|
@@ -511,14 +511,14 @@ module Google
|
|
|
511
511
|
|
|
512
512
|
# Optional.
|
|
513
513
|
# Compensation type.
|
|
514
|
-
# Default is CompensationUnit.
|
|
514
|
+
# Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
|
|
515
515
|
# Corresponds to the JSON property `type`
|
|
516
516
|
# @return [String]
|
|
517
517
|
attr_accessor :type
|
|
518
518
|
|
|
519
519
|
# Optional.
|
|
520
520
|
# Frequency of the specified amount.
|
|
521
|
-
# Default is CompensationUnit.
|
|
521
|
+
# Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
|
|
522
522
|
# Corresponds to the JSON property `unit`
|
|
523
523
|
# @return [String]
|
|
524
524
|
attr_accessor :unit
|
|
@@ -544,7 +544,8 @@ module Google
|
|
|
544
544
|
include Google::Apis::Core::Hashable
|
|
545
545
|
|
|
546
546
|
# Optional.
|
|
547
|
-
#
|
|
547
|
+
# If set to true, jobs with unspecified compensation range fields are
|
|
548
|
+
# included.
|
|
548
549
|
# Corresponds to the JSON property `includeJobsWithUnspecifiedCompensationRange`
|
|
549
550
|
# @return [Boolean]
|
|
550
551
|
attr_accessor :include_jobs_with_unspecified_compensation_range
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
|
26
26
|
module LoggingV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190525'
|
|
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'
|
|
@@ -655,7 +655,10 @@ module Google
|
|
|
655
655
|
attr_accessor :operation
|
|
656
656
|
|
|
657
657
|
# The log entry payload, represented as a protocol buffer. Some Google Cloud
|
|
658
|
-
# Platform services use this field for their log entry payloads.
|
|
658
|
+
# Platform services use this field for their log entry payloads.The following
|
|
659
|
+
# protocol buffer types are supported; user-defined types are not supported:"
|
|
660
|
+
# type.googleapis.com/google.cloud.audit.AuditLog" "type.googleapis.com/google.
|
|
661
|
+
# appengine.logging.v1.RequestLog"
|
|
659
662
|
# Corresponds to the JSON property `protoPayload`
|
|
660
663
|
# @return [Hash<String,Object>]
|
|
661
664
|
attr_accessor :proto_payload
|
|
@@ -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 = '20190524'
|
|
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'
|
|
@@ -1716,6 +1716,11 @@ module Google
|
|
|
1716
1716
|
# @return [String]
|
|
1717
1717
|
attr_accessor :runtime_version
|
|
1718
1718
|
|
|
1719
|
+
# Optional. Specifies the service account for resource access control.
|
|
1720
|
+
# Corresponds to the JSON property `serviceAccount`
|
|
1721
|
+
# @return [String]
|
|
1722
|
+
attr_accessor :service_account
|
|
1723
|
+
|
|
1719
1724
|
# Output only. The state of a version.
|
|
1720
1725
|
# Corresponds to the JSON property `state`
|
|
1721
1726
|
# @return [String]
|
|
@@ -1744,6 +1749,7 @@ module Google
|
|
|
1744
1749
|
@prediction_class = args[:prediction_class] if args.key?(:prediction_class)
|
|
1745
1750
|
@python_version = args[:python_version] if args.key?(:python_version)
|
|
1746
1751
|
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
|
1752
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
|
1747
1753
|
@state = args[:state] if args.key?(:state)
|
|
1748
1754
|
end
|
|
1749
1755
|
end
|
|
@@ -604,6 +604,7 @@ module Google
|
|
|
604
604
|
property :prediction_class, as: 'predictionClass'
|
|
605
605
|
property :python_version, as: 'pythonVersion'
|
|
606
606
|
property :runtime_version, as: 'runtimeVersion'
|
|
607
|
+
property :service_account, as: 'serviceAccount'
|
|
607
608
|
property :state, as: 'state'
|
|
608
609
|
end
|
|
609
610
|
end
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/monitoring/api/
|
|
28
28
|
module MonitoringV3
|
|
29
29
|
VERSION = 'V3'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190526'
|
|
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'
|
|
@@ -1255,7 +1255,7 @@ module Google
|
|
|
1255
1255
|
# filter must specify a single metric type, and can additionally specify metric
|
|
1256
1256
|
# labels and other information. For example:
|
|
1257
1257
|
# metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
|
|
1258
|
-
# metric.
|
|
1258
|
+
# metric.labels.instance_name = "my-instance-name"
|
|
1259
1259
|
# @param [String] interval_end_time
|
|
1260
1260
|
# Required. The end of the time interval.
|
|
1261
1261
|
# @param [String] interval_start_time
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
|
26
26
|
module RedisV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190531'
|
|
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'
|
|
@@ -41,6 +41,25 @@ module Google
|
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
+
# Request for Export.
|
|
45
|
+
class ExportInstanceRequest
|
|
46
|
+
include Google::Apis::Core::Hashable
|
|
47
|
+
|
|
48
|
+
# The output content
|
|
49
|
+
# Corresponds to the JSON property `outputConfig`
|
|
50
|
+
# @return [Google::Apis::RedisV1::OutputConfig]
|
|
51
|
+
attr_accessor :output_config
|
|
52
|
+
|
|
53
|
+
def initialize(**args)
|
|
54
|
+
update!(**args)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Update properties of this object
|
|
58
|
+
def update!(**args)
|
|
59
|
+
@output_config = args[:output_config] if args.key?(:output_config)
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
44
63
|
# Request for Failover.
|
|
45
64
|
class FailoverInstanceRequest
|
|
46
65
|
include Google::Apis::Core::Hashable
|
|
@@ -61,6 +80,45 @@ module Google
|
|
|
61
80
|
end
|
|
62
81
|
end
|
|
63
82
|
|
|
83
|
+
# The GCS location for the output content
|
|
84
|
+
class GcsDestination
|
|
85
|
+
include Google::Apis::Core::Hashable
|
|
86
|
+
|
|
87
|
+
# Required. Data destination URI (e.g.
|
|
88
|
+
# 'gs://my_bucket/my_object'). Existing files will be overwritten.
|
|
89
|
+
# Corresponds to the JSON property `uri`
|
|
90
|
+
# @return [String]
|
|
91
|
+
attr_accessor :uri
|
|
92
|
+
|
|
93
|
+
def initialize(**args)
|
|
94
|
+
update!(**args)
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Update properties of this object
|
|
98
|
+
def update!(**args)
|
|
99
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# The GCS location for the input content
|
|
104
|
+
class GcsSource
|
|
105
|
+
include Google::Apis::Core::Hashable
|
|
106
|
+
|
|
107
|
+
# Required. Source data URI. (e.g. 'gs://my_bucket/my_object').
|
|
108
|
+
# Corresponds to the JSON property `uri`
|
|
109
|
+
# @return [String]
|
|
110
|
+
attr_accessor :uri
|
|
111
|
+
|
|
112
|
+
def initialize(**args)
|
|
113
|
+
update!(**args)
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Update properties of this object
|
|
117
|
+
def update!(**args)
|
|
118
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
64
122
|
# This location metadata represents additional configuration options for a
|
|
65
123
|
# given location where a Redis instance may be created. All fields are output
|
|
66
124
|
# only. It is returned as content of the
|
|
@@ -156,6 +214,44 @@ module Google
|
|
|
156
214
|
end
|
|
157
215
|
end
|
|
158
216
|
|
|
217
|
+
# Request for Import.
|
|
218
|
+
class ImportInstanceRequest
|
|
219
|
+
include Google::Apis::Core::Hashable
|
|
220
|
+
|
|
221
|
+
# The input content
|
|
222
|
+
# Corresponds to the JSON property `inputConfig`
|
|
223
|
+
# @return [Google::Apis::RedisV1::InputConfig]
|
|
224
|
+
attr_accessor :input_config
|
|
225
|
+
|
|
226
|
+
def initialize(**args)
|
|
227
|
+
update!(**args)
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# Update properties of this object
|
|
231
|
+
def update!(**args)
|
|
232
|
+
@input_config = args[:input_config] if args.key?(:input_config)
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# The input content
|
|
237
|
+
class InputConfig
|
|
238
|
+
include Google::Apis::Core::Hashable
|
|
239
|
+
|
|
240
|
+
# The GCS location for the input content
|
|
241
|
+
# Corresponds to the JSON property `gcsSource`
|
|
242
|
+
# @return [Google::Apis::RedisV1::GcsSource]
|
|
243
|
+
attr_accessor :gcs_source
|
|
244
|
+
|
|
245
|
+
def initialize(**args)
|
|
246
|
+
update!(**args)
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# Update properties of this object
|
|
250
|
+
def update!(**args)
|
|
251
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
|
252
|
+
end
|
|
253
|
+
end
|
|
254
|
+
|
|
159
255
|
# A Google Cloud Redis instance.
|
|
160
256
|
class Instance
|
|
161
257
|
include Google::Apis::Core::Hashable
|
|
@@ -231,6 +327,15 @@ module Google
|
|
|
231
327
|
# @return [String]
|
|
232
328
|
attr_accessor :name
|
|
233
329
|
|
|
330
|
+
# Output only. Cloud IAM identity used by import / export operations to
|
|
331
|
+
# transfer data to/from Cloud Storage. Format is
|
|
332
|
+
# "serviceAccount:<service_account_email>". The value may change over time
|
|
333
|
+
# for a given instance so should be checked before each import/export
|
|
334
|
+
# operation.
|
|
335
|
+
# Corresponds to the JSON property `persistenceIamIdentity`
|
|
336
|
+
# @return [String]
|
|
337
|
+
attr_accessor :persistence_iam_identity
|
|
338
|
+
|
|
234
339
|
# Output only. The port number of the exposed Redis endpoint.
|
|
235
340
|
# Corresponds to the JSON property `port`
|
|
236
341
|
# @return [Fixnum]
|
|
@@ -293,6 +398,7 @@ module Google
|
|
|
293
398
|
@location_id = args[:location_id] if args.key?(:location_id)
|
|
294
399
|
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
|
|
295
400
|
@name = args[:name] if args.key?(:name)
|
|
401
|
+
@persistence_iam_identity = args[:persistence_iam_identity] if args.key?(:persistence_iam_identity)
|
|
296
402
|
@port = args[:port] if args.key?(:port)
|
|
297
403
|
@redis_configs = args[:redis_configs] if args.key?(:redis_configs)
|
|
298
404
|
@redis_version = args[:redis_version] if args.key?(:redis_version)
|
|
@@ -547,6 +653,25 @@ module Google
|
|
|
547
653
|
end
|
|
548
654
|
end
|
|
549
655
|
|
|
656
|
+
# The output content
|
|
657
|
+
class OutputConfig
|
|
658
|
+
include Google::Apis::Core::Hashable
|
|
659
|
+
|
|
660
|
+
# The GCS location for the output content
|
|
661
|
+
# Corresponds to the JSON property `gcsDestination`
|
|
662
|
+
# @return [Google::Apis::RedisV1::GcsDestination]
|
|
663
|
+
attr_accessor :gcs_destination
|
|
664
|
+
|
|
665
|
+
def initialize(**args)
|
|
666
|
+
update!(**args)
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
# Update properties of this object
|
|
670
|
+
def update!(**args)
|
|
671
|
+
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
|
672
|
+
end
|
|
673
|
+
end
|
|
674
|
+
|
|
550
675
|
# The `Status` type defines a logical error model that is suitable for
|
|
551
676
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
552
677
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
|
@@ -28,12 +28,30 @@ module Google
|
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
+
class ExportInstanceRequest
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
31
37
|
class FailoverInstanceRequest
|
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
39
|
|
|
34
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
41
|
end
|
|
36
42
|
|
|
43
|
+
class GcsDestination
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class GcsSource
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
37
55
|
class GoogleCloudRedisV1LocationMetadata
|
|
38
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
57
|
|
|
@@ -52,6 +70,18 @@ module Google
|
|
|
52
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
71
|
end
|
|
54
72
|
|
|
73
|
+
class ImportInstanceRequest
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class InputConfig
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
55
85
|
class Instance
|
|
56
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
87
|
|
|
@@ -88,6 +118,12 @@ module Google
|
|
|
88
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
119
|
end
|
|
90
120
|
|
|
121
|
+
class OutputConfig
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
91
127
|
class Status
|
|
92
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
129
|
|
|
@@ -100,6 +136,14 @@ module Google
|
|
|
100
136
|
end
|
|
101
137
|
end
|
|
102
138
|
|
|
139
|
+
class ExportInstanceRequest
|
|
140
|
+
# @private
|
|
141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
142
|
+
property :output_config, as: 'outputConfig', class: Google::Apis::RedisV1::OutputConfig, decorator: Google::Apis::RedisV1::OutputConfig::Representation
|
|
143
|
+
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
103
147
|
class FailoverInstanceRequest
|
|
104
148
|
# @private
|
|
105
149
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -107,6 +151,20 @@ module Google
|
|
|
107
151
|
end
|
|
108
152
|
end
|
|
109
153
|
|
|
154
|
+
class GcsDestination
|
|
155
|
+
# @private
|
|
156
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
157
|
+
property :uri, as: 'uri'
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
class GcsSource
|
|
162
|
+
# @private
|
|
163
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
164
|
+
property :uri, as: 'uri'
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
110
168
|
class GoogleCloudRedisV1LocationMetadata
|
|
111
169
|
# @private
|
|
112
170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -134,6 +192,22 @@ module Google
|
|
|
134
192
|
end
|
|
135
193
|
end
|
|
136
194
|
|
|
195
|
+
class ImportInstanceRequest
|
|
196
|
+
# @private
|
|
197
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
198
|
+
property :input_config, as: 'inputConfig', class: Google::Apis::RedisV1::InputConfig, decorator: Google::Apis::RedisV1::InputConfig::Representation
|
|
199
|
+
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
class InputConfig
|
|
204
|
+
# @private
|
|
205
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
206
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::RedisV1::GcsSource, decorator: Google::Apis::RedisV1::GcsSource::Representation
|
|
207
|
+
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
137
211
|
class Instance
|
|
138
212
|
# @private
|
|
139
213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -147,6 +221,7 @@ module Google
|
|
|
147
221
|
property :location_id, as: 'locationId'
|
|
148
222
|
property :memory_size_gb, as: 'memorySizeGb'
|
|
149
223
|
property :name, as: 'name'
|
|
224
|
+
property :persistence_iam_identity, as: 'persistenceIamIdentity'
|
|
150
225
|
property :port, as: 'port'
|
|
151
226
|
hash :redis_configs, as: 'redisConfigs'
|
|
152
227
|
property :redis_version, as: 'redisVersion'
|
|
@@ -208,6 +283,14 @@ module Google
|
|
|
208
283
|
end
|
|
209
284
|
end
|
|
210
285
|
|
|
286
|
+
class OutputConfig
|
|
287
|
+
# @private
|
|
288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
289
|
+
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::RedisV1::GcsDestination, decorator: Google::Apis::RedisV1::GcsDestination::Representation
|
|
290
|
+
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
211
294
|
class Status
|
|
212
295
|
# @private
|
|
213
296
|
class Representation < Google::Apis::Core::JsonRepresentation
|