google-apis-artifactregistry_v1 0.18.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: bc8a24a50001559c86a620d0de0b0c12adcd0fe2bb9848096023caed15b743dc
4
- data.tar.gz: 02b8c4f3483f4c7cc7b81c4873e3d21b38232ad87dd562fc1a1089bacfdfa485
3
+ metadata.gz: 712e38401c49e487e08b61ba08a8dcb36d76bbb4a8c37e1cf6e74af02d4cd948
4
+ data.tar.gz: f037825384566c47919fa2a7ad93024006beb2a2d51a97aba2a7bd50c6c7ddef
5
5
  SHA512:
6
- metadata.gz: 19c2b7ab52ec8cf4335e34a68108c9da7f87b0452ea34393916e6952d1d8f6b7f7803b901b7dfb8cd9678cdecd2f2bd930616a108af2c876eef93bfc85c28bec
7
- data.tar.gz: 6e83d3411a56865573192786cf51031fa80469936139fb41cd307eb084d02a7b9daa8a14d3630935ec88a97b2d2dd0fc6cbe0debb7d8a04d97935eb7046b3ea3
6
+ metadata.gz: cc7c8777856acc48d4158dc40711d56a2fbf6251909407f265167dfdd4e9bba188d656e2d8eb852be7d2df54669db1320f61281b0c5f1c741edb677a7433b09a
7
+ data.tar.gz: 8648b8fafc046e2c41a001807d424794c2f8c8d7eb68861198ebb6bf6d3271400c414ffda08d5f8bed40addb3638f1bd1469ba216ac55fd881ee29e9c7bade19
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.19.0 (2022-02-17)
4
+
5
+ * Regenerated from discovery document revision 20220212
6
+
3
7
  ### v0.18.0 (2022-02-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20220203
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ArtifactregistryV1
18
18
  # Version of the google-apis-artifactregistry_v1 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220203"
25
+ REVISION = "20220212"
26
26
  end
27
27
  end
28
28
  end
@@ -50,10 +50,9 @@ module Google
50
50
  @batch_path = 'batch'
51
51
  end
52
52
 
53
- # Gets the latest state of a long-running operation. Clients can use this method
54
- # to poll the operation result at intervals as recommended by the API service.
53
+ # Retrieves the Settings for the Project.
55
54
  # @param [String] name
56
- # The name of the operation resource.
55
+ # Required. The name of the projectSettings resource.
57
56
  # @param [String] fields
58
57
  # Selector specifying which fields to include in a partial response.
59
58
  # @param [String] quota_user
@@ -63,27 +62,31 @@ module Google
63
62
  # Request-specific options
64
63
  #
65
64
  # @yield [result, err] Result & error if block supplied
66
- # @yieldparam result [Google::Apis::ArtifactregistryV1::Operation] parsed result object
65
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::ProjectSettings] parsed result object
67
66
  # @yieldparam err [StandardError] error object if request failed
68
67
  #
69
- # @return [Google::Apis::ArtifactregistryV1::Operation]
68
+ # @return [Google::Apis::ArtifactregistryV1::ProjectSettings]
70
69
  #
71
70
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
71
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
72
  # @raise [Google::Apis::AuthorizationError] Authorization is required
74
- def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
73
+ def get_project_project_settings(name, fields: nil, quota_user: nil, options: nil, &block)
75
74
  command = make_simple_command(:get, 'v1/{+name}', options)
76
- command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
77
- command.response_class = Google::Apis::ArtifactregistryV1::Operation
75
+ command.response_representation = Google::Apis::ArtifactregistryV1::ProjectSettings::Representation
76
+ command.response_class = Google::Apis::ArtifactregistryV1::ProjectSettings
78
77
  command.params['name'] = name unless name.nil?
79
78
  command.query['fields'] = fields unless fields.nil?
80
79
  command.query['quotaUser'] = quota_user unless quota_user.nil?
81
80
  execute_or_queue_command(command, &block)
82
81
  end
83
82
 
84
- # Retrieves the Settings for the Project.
83
+ # Updates the Settings for the Project.
85
84
  # @param [String] name
86
- # Required. The name of the projectSettings resource.
85
+ # The name of the project's settings. Always of the form: projects/`project-id`/
86
+ # projectSettings In update request: never set In response: always set
87
+ # @param [Google::Apis::ArtifactregistryV1::ProjectSettings] project_settings_object
88
+ # @param [String] update_mask
89
+ # Field mask to support partial updates.
87
90
  # @param [String] fields
88
91
  # Selector specifying which fields to include in a partial response.
89
92
  # @param [String] quota_user
@@ -101,23 +104,23 @@ module Google
101
104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
102
105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
103
106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
104
- def get_project_project_settings(name, fields: nil, quota_user: nil, options: nil, &block)
105
- command = make_simple_command(:get, 'v1/{+name}', options)
107
+ def update_project_project_settings(name, project_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
108
+ command = make_simple_command(:patch, 'v1/{+name}', options)
109
+ command.request_representation = Google::Apis::ArtifactregistryV1::ProjectSettings::Representation
110
+ command.request_object = project_settings_object
106
111
  command.response_representation = Google::Apis::ArtifactregistryV1::ProjectSettings::Representation
107
112
  command.response_class = Google::Apis::ArtifactregistryV1::ProjectSettings
108
113
  command.params['name'] = name unless name.nil?
114
+ command.query['updateMask'] = update_mask unless update_mask.nil?
109
115
  command.query['fields'] = fields unless fields.nil?
110
116
  command.query['quotaUser'] = quota_user unless quota_user.nil?
111
117
  execute_or_queue_command(command, &block)
112
118
  end
113
119
 
114
- # Updates the Settings for the Project.
120
+ # Gets the latest state of a long-running operation. Clients can use this method
121
+ # to poll the operation result at intervals as recommended by the API service.
115
122
  # @param [String] name
116
- # The name of the project's settings. Always of the form: projects/`project-id`/
117
- # projectSettings In update request: never set In response: always set
118
- # @param [Google::Apis::ArtifactregistryV1::ProjectSettings] project_settings_object
119
- # @param [String] update_mask
120
- # Field mask to support partial updates.
123
+ # The name of the operation resource.
121
124
  # @param [String] fields
122
125
  # Selector specifying which fields to include in a partial response.
123
126
  # @param [String] quota_user
@@ -127,22 +130,19 @@ module Google
127
130
  # Request-specific options
128
131
  #
129
132
  # @yield [result, err] Result & error if block supplied
130
- # @yieldparam result [Google::Apis::ArtifactregistryV1::ProjectSettings] parsed result object
133
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::Operation] parsed result object
131
134
  # @yieldparam err [StandardError] error object if request failed
132
135
  #
133
- # @return [Google::Apis::ArtifactregistryV1::ProjectSettings]
136
+ # @return [Google::Apis::ArtifactregistryV1::Operation]
134
137
  #
135
138
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
136
139
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
137
140
  # @raise [Google::Apis::AuthorizationError] Authorization is required
138
- def update_project_project_settings(name, project_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
139
- command = make_simple_command(:patch, 'v1/{+name}', options)
140
- command.request_representation = Google::Apis::ArtifactregistryV1::ProjectSettings::Representation
141
- command.request_object = project_settings_object
142
- command.response_representation = Google::Apis::ArtifactregistryV1::ProjectSettings::Representation
143
- command.response_class = Google::Apis::ArtifactregistryV1::ProjectSettings
141
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
142
+ command = make_simple_command(:get, 'v1/{+name}', options)
143
+ command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
144
+ command.response_class = Google::Apis::ArtifactregistryV1::Operation
144
145
  command.params['name'] = name unless name.nil?
145
- command.query['updateMask'] = update_mask unless update_mask.nil?
146
146
  command.query['fields'] = fields unless fields.nil?
147
147
  command.query['quotaUser'] = quota_user unless quota_user.nil?
148
148
  execute_or_queue_command(command, &block)
@@ -621,6 +621,8 @@ module Google
621
621
  # repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `
622
622
  # owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/
623
623
  # versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
624
+ # @param [String] order_by
625
+ # The field to order the results by.
624
626
  # @param [Fixnum] page_size
625
627
  # The maximum number of files to return.
626
628
  # @param [String] page_token
@@ -642,12 +644,13 @@ module Google
642
644
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
643
645
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
644
646
  # @raise [Google::Apis::AuthorizationError] Authorization is required
645
- def list_project_location_repository_files(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
647
+ def list_project_location_repository_files(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
646
648
  command = make_simple_command(:get, 'v1/{+parent}/files', options)
647
649
  command.response_representation = Google::Apis::ArtifactregistryV1::ListFilesResponse::Representation
648
650
  command.response_class = Google::Apis::ArtifactregistryV1::ListFilesResponse
649
651
  command.params['parent'] = parent unless parent.nil?
650
652
  command.query['filter'] = filter unless filter.nil?
653
+ command.query['orderBy'] = order_by unless order_by.nil?
651
654
  command.query['pageSize'] = page_size unless page_size.nil?
652
655
  command.query['pageToken'] = page_token unless page_token.nil?
653
656
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-artifactregistry_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.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-02-14 00:00:00.000000000 Z
11
+ date: 2022-02-21 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-artifactregistry_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
63
63
  post_install_message:
64
64
  rdoc_options: []