google-apis-file_v1 0.18.0 → 0.21.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: 5e8298660748ecc84b600d4f0484ea6d479c2accab17f28458dc15b29b56831a
4
- data.tar.gz: 2d6be4f7d11be9ec235416dcc47dff71f8292bd9f346ec01e0ef6cbdb676eeed
3
+ metadata.gz: a4d10d14ac57bef45ac54308af09ab632c5a8e0945118e6782f2ede75e38ac29
4
+ data.tar.gz: 4cb34af8a777d1ce17d4d7f5117b63905d1a81b653c92de82252727f0408543f
5
5
  SHA512:
6
- metadata.gz: 655a786a2c79f5e15e7ff6772e5e102600b78299433394383388f91c2fc83a077b7934f43ad8b8a2cce8ddfeb491d9792f56cb3a92ce540d56bc34a2a0bce2c3
7
- data.tar.gz: e7eac15aaa54065c98620868eabfd6df499846cef24b28d66d721f4eeb1a674631b3f813691294256470a754669036878d2eae74d5a0ddeb4383997764f624e9
6
+ metadata.gz: '096dd72e2a6b167f34f68f8ed39fb8cd7d910cdc95e0f05283b91e87bb3ed0c64c5270ae73cadb1732faeaee3976a52328e86a0e4ce97b09faec74e0197e7108'
7
+ data.tar.gz: c0304cbfcf4bf40b2eb67f465b43a46824b40db9000f82afdaed17d79f15597853a9887fb812f60911133b60f01c730dce326d3edd4441cb20078207a60d6e64
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.21.0 (2022-06-19)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.20.0 (2022-06-05)
8
+
9
+ * Regenerated from discovery document revision 20220530
10
+ * Regenerated using generator version 0.5.0
11
+
12
+ ### v0.19.0 (2022-04-16)
13
+
14
+ * Regenerated from discovery document revision 20220407
15
+
3
16
  ### v0.18.0 (2022-03-20)
4
17
 
5
18
  * Regenerated from discovery document revision 20220222
@@ -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, with a zero year (e.g., an anniversary) * A year on its own, with a
165
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
166
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
167
- # DateTime * 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, with a zero year (e.g., an anniversary) * A year on its own, with a
211
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
212
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
213
- # DateTime * 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, with a zero year (e.g., an anniversary) * A year on its own, with a
223
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
224
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
225
- # DateTime * 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,11 +319,12 @@ module Google
320
319
  # @return [String]
321
320
  attr_accessor :create_time
322
321
 
323
- # Optional. The instance_type of this instance of format: projects/`project_id`/
324
- # locations/`location_id`/instanceTypes/`instance_type_id`. Instance Type
325
- # represents a high-level tier or SKU of the service that this instance belong
326
- # to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along
327
- # with 'software_versions' to determine whether instance needs an update or not.
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
328
  # Corresponds to the JSON property `instanceType`
329
329
  # @return [String]
330
330
  attr_accessor :instance_type
@@ -356,19 +356,21 @@ module Google
356
356
  # @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
357
357
  attr_accessor :maintenance_settings
358
358
 
359
- # Unique name of the resource. It uses the form: `projects/`project_id|
360
- # project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
361
- # project_id or project_number can be used, but keep it consistent with other
362
- # 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.
363
365
  # Corresponds to the JSON property `name`
364
366
  # @return [String]
365
367
  attr_accessor :name
366
368
 
367
- # Optional. notification_parameters are information that service producers may
369
+ # Optional. notification_parameter are information that service producers may
368
370
  # like to include that is not relevant to Rollout. This parameter will only be
369
371
  # passed to Gamma and Cloud Logging for notification/logging purpose.
370
372
  # Corresponds to the JSON property `notificationParameters`
371
- # @return [Hash<String,String>]
373
+ # @return [Hash<String,Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter>]
372
374
  attr_accessor :notification_parameters
373
375
 
374
376
  # Output only. Custom string attributes used primarily to expose producer-
@@ -573,6 +575,25 @@ module Google
573
575
  end
574
576
  end
575
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
+
576
597
  # PerSliSloEligibility is a mapping from an SLI name to eligibility.
577
598
  class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
578
599
  include Google::Apis::Core::Hashable
@@ -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.18.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220222"
25
+ REVISION = "20220530"
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
 
@@ -316,7 +322,8 @@ module Google
316
322
  property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
317
323
 
318
324
  property :name, as: 'name'
319
- hash :notification_parameters, as: 'notificationParameters'
325
+ hash :notification_parameters, as: 'notificationParameters', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter::Representation
326
+
320
327
  hash :producer_metadata, as: 'producerMetadata'
321
328
  collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
322
329
 
@@ -361,6 +368,13 @@ module Google
361
368
  end
362
369
  end
363
370
 
371
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ collection :values, as: 'values'
375
+ end
376
+ end
377
+
364
378
  class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
365
379
  # @private
366
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.18.0
4
+ version: 0.21.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-03-21 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.21.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.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Filestore API V1