google-apis-file_v1 0.16.0 → 0.19.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a05875c62745f8aba51d83785c87db0239bef11875234c561752c7f61500cc9b
4
- data.tar.gz: aa3051bf5c0320f7861cb999016518a794c701435d2bc07c80ab835055dc412b
3
+ metadata.gz: 9cd6684d6067047d615a35a52472c4c15cfcdf78cd8d36bda70a61826ade0be3
4
+ data.tar.gz: 4b11050259a20e48c418e6f4289e611fb9b0b4f04f26c201bb27e858c24a6aed
5
5
  SHA512:
6
- metadata.gz: 37d919b4ddbdeee67560632c76f364678fbf9fcec0298f0d0daf05da4f555e5d1abcece8a87c83ba29db73ccf5b48c02fae232a7c73c0097fe16ecf92df9c9b6
7
- data.tar.gz: a8f0cd51013766942dbe5723a62c56bfaf6f511e0673f4ccc00dca79530c09adbafb1c0705f5b2497ead79ecfe17c79ed609c244b29b130200bfbe068b417a34
6
+ metadata.gz: 0565fad9a1105fd63c6251bd5b994bac0bb83e74380ed552a071fc2b7df8b5aff0722c871df1daecb4218961df282e4817084b0645b3068d3d258dbd2cf5f48e
7
+ data.tar.gz: 826e5403c12c7f7a7a2e8a6d09f7d7ec6e1a44da2f75c767384702eab4ca8107d506c3f4163f4ae03a39f5a0299e9ef101c74f3c04b663cabc1d476d2f304f4f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.19.0 (2022-04-16)
4
+
5
+ * Regenerated from discovery document revision 20220407
6
+
7
+ ### v0.18.0 (2022-03-20)
8
+
9
+ * Regenerated from discovery document revision 20220222
10
+
11
+ ### v0.17.0 (2022-02-28)
12
+
13
+ * Regenerated from discovery document revision 20220214
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.16.0 (2021-12-14)
4
17
 
5
18
  * Unspecified changes
@@ -160,11 +160,11 @@ module Google
160
160
  # Represents a whole or partial calendar date, such as a birthday. The time of
161
161
  # day and time zone are either specified elsewhere or are insignificant. The
162
162
  # date is relative to the Gregorian Calendar. This can represent one of the
163
- # following: * A full date, with non-zero year, month, and day values * A month
164
- # and day value, with a zero year, such as an anniversary * A year on its own,
165
- # with zero month and day values * A year and month value, with a zero day, such
166
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
167
- # google.protobuf.Timestamp`.
163
+ # following: * A full date, with non-zero year, month, and day values. * A month
164
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
165
+ # with a zero month and a zero day. * A year and month, with a zero day (for
166
+ # example, a credit card expiration date). Related types: * google.type.
167
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
168
168
  class Date
169
169
  include Google::Apis::Core::Hashable
170
170
 
@@ -206,11 +206,11 @@ module Google
206
206
  # Represents a whole or partial calendar date, such as a birthday. The time of
207
207
  # day and time zone are either specified elsewhere or are insignificant. The
208
208
  # date is relative to the Gregorian Calendar. This can represent one of the
209
- # following: * A full date, with non-zero year, month, and day values * A month
210
- # and day value, with a zero year, such as an anniversary * A year on its own,
211
- # with zero month and day values * A year and month value, with a zero day, such
212
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
213
- # google.protobuf.Timestamp`.
209
+ # following: * A full date, with non-zero year, month, and day values. * A month
210
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
211
+ # with a zero month and a zero day. * A year and month, with a zero day (for
212
+ # example, a credit card expiration date). Related types: * google.type.
213
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
214
214
  # Corresponds to the JSON property `endDate`
215
215
  # @return [Google::Apis::FileV1::Date]
216
216
  attr_accessor :end_date
@@ -218,11 +218,11 @@ module Google
218
218
  # Represents a whole or partial calendar date, such as a birthday. The time of
219
219
  # day and time zone are either specified elsewhere or are insignificant. The
220
220
  # date is relative to the Gregorian Calendar. This can represent one of the
221
- # following: * A full date, with non-zero year, month, and day values * A month
222
- # and day value, with a zero year, such as an anniversary * A year on its own,
223
- # with zero month and day values * A year and month value, with a zero day, such
224
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
225
- # google.protobuf.Timestamp`.
221
+ # following: * A full date, with non-zero year, month, and day values. * A month
222
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
223
+ # with a zero month and a zero day. * A year and month, with a zero day (for
224
+ # example, a credit card expiration date). Related types: * google.type.
225
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
226
226
  # Corresponds to the JSON property `startDate`
227
227
  # @return [Google::Apis::FileV1::Date]
228
228
  attr_accessor :start_date
@@ -249,8 +249,7 @@ module Google
249
249
  # A generic empty message that you can re-use to avoid defining duplicated empty
250
250
  # messages in your APIs. A typical example is to use it as the request or the
251
251
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
252
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
253
- # `Empty` is empty JSON object ````.
252
+ # protobuf.Empty) returns (google.protobuf.Empty); `
254
253
  class Empty
255
254
  include Google::Apis::Core::Hashable
256
255
 
@@ -320,6 +319,16 @@ module Google
320
319
  # @return [String]
321
320
  attr_accessor :create_time
322
321
 
322
+ # Optional. The instance_type of this instance of format: projects/`
323
+ # project_number`/locations/`location_id`/instanceTypes/`instance_type_id`.
324
+ # Instance Type represents a high-level tier or SKU of the service that this
325
+ # instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses '
326
+ # instance_type' along with 'software_versions' to determine whether instance
327
+ # needs an update or not.
328
+ # Corresponds to the JSON property `instanceType`
329
+ # @return [String]
330
+ attr_accessor :instance_type
331
+
323
332
  # Optional. Resource labels to represent user provided metadata. Each label is a
324
333
  # key-value pair, where both the key and the value are arbitrary strings
325
334
  # provided by the user.
@@ -347,14 +356,23 @@ module Google
347
356
  # @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
348
357
  attr_accessor :maintenance_settings
349
358
 
350
- # Unique name of the resource. It uses the form: `projects/`project_id|
351
- # project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
352
- # project_id or project_number can be used, but keep it consistent with other
353
- # APIs (e.g. RescheduleUpdate)
359
+ # Unique name of the resource. It uses the form: `projects/`project_number`/
360
+ # locations/`location_id`/instances/`instance_id`` Note: This name is passed,
361
+ # stored and logged across the rollout system. So use of consumer project_id or
362
+ # any other consumer PII in the name is strongly discouraged for wipeout (go/
363
+ # wipeout) compliance. See go/elysium/project_ids#storage-guidance for more
364
+ # details.
354
365
  # Corresponds to the JSON property `name`
355
366
  # @return [String]
356
367
  attr_accessor :name
357
368
 
369
+ # Optional. notification_parameter are information that service producers may
370
+ # like to include that is not relevant to Rollout. This parameter will only be
371
+ # passed to Gamma and Cloud Logging for notification/logging purpose.
372
+ # Corresponds to the JSON property `notificationParameters`
373
+ # @return [Hash<String,Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter>]
374
+ attr_accessor :notification_parameters
375
+
358
376
  # Output only. Custom string attributes used primarily to expose producer-
359
377
  # specific information in monitoring dashboards. See go/get-instance-metadata.
360
378
  # Corresponds to the JSON property `producerMetadata`
@@ -412,11 +430,13 @@ module Google
412
430
  def update!(**args)
413
431
  @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
414
432
  @create_time = args[:create_time] if args.key?(:create_time)
433
+ @instance_type = args[:instance_type] if args.key?(:instance_type)
415
434
  @labels = args[:labels] if args.key?(:labels)
416
435
  @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
417
436
  @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
418
437
  @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
419
438
  @name = args[:name] if args.key?(:name)
439
+ @notification_parameters = args[:notification_parameters] if args.key?(:notification_parameters)
420
440
  @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
421
441
  @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
422
442
  @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
@@ -555,6 +575,25 @@ module Google
555
575
  end
556
576
  end
557
577
 
578
+ # Contains notification related data.
579
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
580
+ include Google::Apis::Core::Hashable
581
+
582
+ # Optional. Array of string values. e.g. instance's replica information.
583
+ # Corresponds to the JSON property `values`
584
+ # @return [Array<String>]
585
+ attr_accessor :values
586
+
587
+ def initialize(**args)
588
+ update!(**args)
589
+ end
590
+
591
+ # Update properties of this object
592
+ def update!(**args)
593
+ @values = args[:values] if args.key?(:values)
594
+ end
595
+ end
596
+
558
597
  # PerSliSloEligibility is a mapping from an SLI name to eligibility.
559
598
  class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
560
599
  include Google::Apis::Core::Hashable
@@ -744,7 +783,7 @@ module Google
744
783
  # @return [String]
745
784
  attr_accessor :status_message
746
785
 
747
- # Output only. field indicates all the reasons the instance is in "SUSPENDED"
786
+ # Output only. Field indicates all the reasons the instance is in "SUSPENDED"
748
787
  # state.
749
788
  # Corresponds to the JSON property `suspensionReasons`
750
789
  # @return [Array<String>]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FileV1
18
18
  # Version of the google-apis-file_v1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211105"
25
+ REVISION = "20220407"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -308,6 +314,7 @@ module Google
308
314
  class Representation < Google::Apis::Core::JsonRepresentation
309
315
  property :consumer_defined_name, as: 'consumerDefinedName'
310
316
  property :create_time, as: 'createTime'
317
+ property :instance_type, as: 'instanceType'
311
318
  hash :labels, as: 'labels'
312
319
  hash :maintenance_policy_names, as: 'maintenancePolicyNames'
313
320
  hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
@@ -315,6 +322,8 @@ module Google
315
322
  property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
316
323
 
317
324
  property :name, as: 'name'
325
+ hash :notification_parameters, as: 'notificationParameters', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter::Representation
326
+
318
327
  hash :producer_metadata, as: 'producerMetadata'
319
328
  collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
320
329
 
@@ -359,6 +368,13 @@ module Google
359
368
  end
360
369
  end
361
370
 
371
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ collection :values, as: 'values'
375
+ end
376
+ end
377
+
362
378
  class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
363
379
  # @private
364
380
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,8 +84,8 @@ module Google
84
84
  # The resource that owns the locations collection, if applicable.
85
85
  # @param [String] filter
86
86
  # A filter to narrow down results to a preferred subset. The filtering language
87
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
88
- # AIP-160](https://google.aip.dev/160).
87
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
88
+ # in [AIP-160](https://google.aip.dev/160).
89
89
  # @param [Boolean] include_unrevealed_locations
90
90
  # If true, the returned list will include locations which are not yet revealed.
91
91
  # @param [Fixnum] page_size
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-file_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Filestore API V1