google-apis-file_v1beta1 0.17.0 → 0.20.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: 013a47616522e69f9facefb153ded1ab5d543ffcb5ba10e160cc4159435a8c4a
4
- data.tar.gz: 82de47b51f537ff676da226f09eb4bb56bc2bfd40e2d447cca3e232cc639d6ec
3
+ metadata.gz: f7d53ab95120be0dc6f4997129f86f72b6971e0a37e7f0f37d26b66d7811dfdb
4
+ data.tar.gz: cccb75d5619890ee9757669bcd64debf9b96e5ebb0b2cf397b54f331b2d74459
5
5
  SHA512:
6
- metadata.gz: 54404acadb3f3ba6f747f67d021f05cbe6715988af1e97b5db770bbd60b39ea467d74c0d922cd762aa400a1af5e9236a310f87064045a729e0dd2c755e56ffc8
7
- data.tar.gz: e0cdf0986071db48a2c57835b617481b9d22a68efe686f66fcd05918dbf6ee899f0da19f8f69a9afb74de0b6e176cfedbcc03c5599b92f1544c563f663ddf36f
6
+ metadata.gz: cdfb7fba8551ca8075ef531f7b80f39b63dbea2568782c328b6276134acb372aef77f891bb870525d1f625076d33d918d70743d0dcc3ec48d514e0e1db36a61c
7
+ data.tar.gz: b0519beee9d9b1d000ff66e569b7ec507b31ef756ff6fb068f3f35ef0bd49cbad38b0cfef93890385539751dd381221e7edce934933f5365be0564bb5b1c48e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.20.0 (2022-04-19)
4
+
5
+ * Regenerated from discovery document revision 20220407
6
+
7
+ ### v0.19.0 (2022-03-20)
8
+
9
+ * Regenerated from discovery document revision 20220222
10
+
11
+ ### v0.18.0 (2022-02-28)
12
+
13
+ * Regenerated from discovery document revision 20220214
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.17.0 (2021-12-14)
4
17
 
5
18
  * Unspecified changes
@@ -158,11 +158,11 @@ module Google
158
158
  # Represents a whole or partial calendar date, such as a birthday. The time of
159
159
  # day and time zone are either specified elsewhere or are insignificant. The
160
160
  # date is relative to the Gregorian Calendar. This can represent one of the
161
- # following: * A full date, with non-zero year, month, and day values * A month
162
- # and day value, with a zero year, such as an anniversary * A year on its own,
163
- # with zero month and day values * A year and month value, with a zero day, such
164
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
165
- # google.protobuf.Timestamp`.
161
+ # following: * A full date, with non-zero year, month, and day values. * A month
162
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
163
+ # with a zero month and a zero day. * A year and month, with a zero day (for
164
+ # example, a credit card expiration date). Related types: * google.type.
165
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
166
166
  class Date
167
167
  include Google::Apis::Core::Hashable
168
168
 
@@ -204,11 +204,11 @@ module Google
204
204
  # Represents a whole or partial calendar date, such as a birthday. The time of
205
205
  # day and time zone are either specified elsewhere or are insignificant. The
206
206
  # date is relative to the Gregorian Calendar. This can represent one of the
207
- # following: * A full date, with non-zero year, month, and day values * A month
208
- # and day value, with a zero year, such as an anniversary * A year on its own,
209
- # with zero month and day values * A year and month value, with a zero day, such
210
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
211
- # google.protobuf.Timestamp`.
207
+ # following: * A full date, with non-zero year, month, and day values. * A month
208
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
209
+ # with a zero month and a zero day. * A year and month, with a zero day (for
210
+ # example, a credit card expiration date). Related types: * google.type.
211
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
212
212
  # Corresponds to the JSON property `endDate`
213
213
  # @return [Google::Apis::FileV1beta1::Date]
214
214
  attr_accessor :end_date
@@ -216,11 +216,11 @@ module Google
216
216
  # Represents a whole or partial calendar date, such as a birthday. The time of
217
217
  # day and time zone are either specified elsewhere or are insignificant. The
218
218
  # date is relative to the Gregorian Calendar. This can represent one of the
219
- # following: * A full date, with non-zero year, month, and day values * A month
220
- # and day value, with a zero year, such as an anniversary * A year on its own,
221
- # with zero month and day values * A year and month value, with a zero day, such
222
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
223
- # google.protobuf.Timestamp`.
219
+ # following: * A full date, with non-zero year, month, and day values. * A month
220
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
221
+ # with a zero month and a zero day. * A year and month, with a zero day (for
222
+ # example, a credit card expiration date). Related types: * google.type.
223
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
224
224
  # Corresponds to the JSON property `startDate`
225
225
  # @return [Google::Apis::FileV1beta1::Date]
226
226
  attr_accessor :start_date
@@ -247,8 +247,7 @@ module Google
247
247
  # A generic empty message that you can re-use to avoid defining duplicated empty
248
248
  # messages in your APIs. A typical example is to use it as the request or the
249
249
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
250
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
251
- # `Empty` is empty JSON object ````.
250
+ # protobuf.Empty) returns (google.protobuf.Empty); `
252
251
  class Empty
253
252
  include Google::Apis::Core::Hashable
254
253
 
@@ -319,6 +318,16 @@ module Google
319
318
  # @return [String]
320
319
  attr_accessor :create_time
321
320
 
321
+ # Optional. The instance_type of this instance of format: projects/`
322
+ # project_number`/locations/`location_id`/instanceTypes/`instance_type_id`.
323
+ # Instance Type represents a high-level tier or SKU of the service that this
324
+ # instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses '
325
+ # instance_type' along with 'software_versions' to determine whether instance
326
+ # needs an update or not.
327
+ # Corresponds to the JSON property `instanceType`
328
+ # @return [String]
329
+ attr_accessor :instance_type
330
+
322
331
  # Optional. Resource labels to represent user provided metadata. Each label is a
323
332
  # key-value pair, where both the key and the value are arbitrary strings
324
333
  # provided by the user.
@@ -346,14 +355,23 @@ module Google
346
355
  # @return [Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
347
356
  attr_accessor :maintenance_settings
348
357
 
349
- # Unique name of the resource. It uses the form: `projects/`project_id|
350
- # project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
351
- # project_id or project_number can be used, but keep it consistent with other
352
- # APIs (e.g. RescheduleUpdate)
358
+ # Unique name of the resource. It uses the form: `projects/`project_number`/
359
+ # locations/`location_id`/instances/`instance_id`` Note: This name is passed,
360
+ # stored and logged across the rollout system. So use of consumer project_id or
361
+ # any other consumer PII in the name is strongly discouraged for wipeout (go/
362
+ # wipeout) compliance. See go/elysium/project_ids#storage-guidance for more
363
+ # details.
353
364
  # Corresponds to the JSON property `name`
354
365
  # @return [String]
355
366
  attr_accessor :name
356
367
 
368
+ # Optional. notification_parameter are information that service producers may
369
+ # like to include that is not relevant to Rollout. This parameter will only be
370
+ # passed to Gamma and Cloud Logging for notification/logging purpose.
371
+ # Corresponds to the JSON property `notificationParameters`
372
+ # @return [Hash<String,Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter>]
373
+ attr_accessor :notification_parameters
374
+
357
375
  # Output only. Custom string attributes used primarily to expose producer-
358
376
  # specific information in monitoring dashboards. See go/get-instance-metadata.
359
377
  # Corresponds to the JSON property `producerMetadata`
@@ -411,11 +429,13 @@ module Google
411
429
  def update!(**args)
412
430
  @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
413
431
  @create_time = args[:create_time] if args.key?(:create_time)
432
+ @instance_type = args[:instance_type] if args.key?(:instance_type)
414
433
  @labels = args[:labels] if args.key?(:labels)
415
434
  @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
416
435
  @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
417
436
  @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
418
437
  @name = args[:name] if args.key?(:name)
438
+ @notification_parameters = args[:notification_parameters] if args.key?(:notification_parameters)
419
439
  @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
420
440
  @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
421
441
  @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
@@ -554,6 +574,25 @@ module Google
554
574
  end
555
575
  end
556
576
 
577
+ # Contains notification related data.
578
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
579
+ include Google::Apis::Core::Hashable
580
+
581
+ # Optional. Array of string values. e.g. instance's replica information.
582
+ # Corresponds to the JSON property `values`
583
+ # @return [Array<String>]
584
+ attr_accessor :values
585
+
586
+ def initialize(**args)
587
+ update!(**args)
588
+ end
589
+
590
+ # Update properties of this object
591
+ def update!(**args)
592
+ @values = args[:values] if args.key?(:values)
593
+ end
594
+ end
595
+
557
596
  # PerSliSloEligibility is a mapping from an SLI name to eligibility.
558
597
  class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
559
598
  include Google::Apis::Core::Hashable
@@ -743,7 +782,7 @@ module Google
743
782
  # @return [String]
744
783
  attr_accessor :status_message
745
784
 
746
- # Output only. field indicates all the reasons the instance is in "SUSPENDED"
785
+ # Output only. Field indicates all the reasons the instance is in "SUSPENDED"
747
786
  # state.
748
787
  # Corresponds to the JSON property `suspensionReasons`
749
788
  # @return [Array<String>]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FileV1beta1
18
18
  # Version of the google-apis-file_v1beta1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.20.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 = "20211017"
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
 
@@ -314,6 +320,7 @@ module Google
314
320
  class Representation < Google::Apis::Core::JsonRepresentation
315
321
  property :consumer_defined_name, as: 'consumerDefinedName'
316
322
  property :create_time, as: 'createTime'
323
+ property :instance_type, as: 'instanceType'
317
324
  hash :labels, as: 'labels'
318
325
  hash :maintenance_policy_names, as: 'maintenancePolicyNames'
319
326
  hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
@@ -321,6 +328,8 @@ module Google
321
328
  property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
322
329
 
323
330
  property :name, as: 'name'
331
+ hash :notification_parameters, as: 'notificationParameters', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter::Representation
332
+
324
333
  hash :producer_metadata, as: 'producerMetadata'
325
334
  collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
326
335
 
@@ -365,6 +374,13 @@ module Google
365
374
  end
366
375
  end
367
376
 
377
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
378
+ # @private
379
+ class Representation < Google::Apis::Core::JsonRepresentation
380
+ collection :values, as: 'values'
381
+ end
382
+ end
383
+
368
384
  class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
369
385
  # @private
370
386
  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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.20.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-25 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1
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 V1beta1