google-cloud-talent-v4beta1 0.2.5 → 0.2.6

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: 16fd7e73cd683a9cb25cd7125864d0bd532e59c3972b61615589b52d18fe0d20
4
- data.tar.gz: 7e110d3dd8be88feabfe495af48eae52819bc46d9f896ec0d12533498143101d
3
+ metadata.gz: 3915f4d508e0fc11f29043cfa2a1e8848f42ea79d3ace4af227283c00cb41a93
4
+ data.tar.gz: 923a060f1f07f9a7e369a41e9ceb3994e88214e01c7e4207d0292ecc277d4e36
5
5
  SHA512:
6
- metadata.gz: 460c2d9b18171411ca723a5d85b1462db2a2bbc0b35ce078c88d93ae564de9ecd4ff80e74c49ded13937af7ac1cbe1db96f952e0febe66d5e867419d389ba062
7
- data.tar.gz: 83c40385b886315ccc347416137dd8c39a959d3ec9ddcaec655b24cc87611b3145af5a3a5c147a808fc9d802a1ce3c1df3175fea50fcd520e50bd2f0bb67eda9
6
+ metadata.gz: 37efc3e7ce6fb7232e3d3f655d2ff4aa0b1bce09faa234a5e0f716b27f264651c5b620ecf26b5ccc6c86b9cfb3cc342940b90c22a7867bb89aec67f4511be4e0
7
+ data.tar.gz: 612a6a8b02ec82953a0b0b4bfac3e85083414258ebaec3883f7d4bd9bf221ab42ee9931c154d2ad669e76fe957c9333ca16b0a25d727af9f6eef6951eb3b6413
@@ -39,3 +39,6 @@ module Google
39
39
  end
40
40
  end
41
41
  end
42
+
43
+ helper_path = ::File.join __dir__, "v4beta1", "_helpers.rb"
44
+ require "google/cloud/talent/v4beta1/_helpers" if ::File.file? helper_path
@@ -660,7 +660,7 @@ module Google
660
660
  # Each configuration object is of type `Gapic::Config::Method` and includes
661
661
  # the following configuration fields:
662
662
  #
663
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
663
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
664
664
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
665
665
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
666
666
  # include the following keys:
@@ -35,15 +35,15 @@ module Google
35
35
  self.service_name = 'google.cloud.talent.v4beta1.ApplicationService'
36
36
 
37
37
  # Creates a new application entity.
38
- rpc :CreateApplication, Google::Cloud::Talent::V4beta1::CreateApplicationRequest, Google::Cloud::Talent::V4beta1::Application
38
+ rpc :CreateApplication, ::Google::Cloud::Talent::V4beta1::CreateApplicationRequest, ::Google::Cloud::Talent::V4beta1::Application
39
39
  # Retrieves specified application.
40
- rpc :GetApplication, Google::Cloud::Talent::V4beta1::GetApplicationRequest, Google::Cloud::Talent::V4beta1::Application
40
+ rpc :GetApplication, ::Google::Cloud::Talent::V4beta1::GetApplicationRequest, ::Google::Cloud::Talent::V4beta1::Application
41
41
  # Updates specified application.
42
- rpc :UpdateApplication, Google::Cloud::Talent::V4beta1::UpdateApplicationRequest, Google::Cloud::Talent::V4beta1::Application
42
+ rpc :UpdateApplication, ::Google::Cloud::Talent::V4beta1::UpdateApplicationRequest, ::Google::Cloud::Talent::V4beta1::Application
43
43
  # Deletes specified application.
44
- rpc :DeleteApplication, Google::Cloud::Talent::V4beta1::DeleteApplicationRequest, Google::Protobuf::Empty
44
+ rpc :DeleteApplication, ::Google::Cloud::Talent::V4beta1::DeleteApplicationRequest, ::Google::Protobuf::Empty
45
45
  # Lists all applications associated with the profile.
46
- rpc :ListApplications, Google::Cloud::Talent::V4beta1::ListApplicationsRequest, Google::Cloud::Talent::V4beta1::ListApplicationsResponse
46
+ rpc :ListApplications, ::Google::Cloud::Talent::V4beta1::ListApplicationsRequest, ::Google::Cloud::Talent::V4beta1::ListApplicationsResponse
47
47
  end
48
48
 
49
49
  Stub = Service.rpc_stub_class
@@ -675,7 +675,7 @@ module Google
675
675
  # Each configuration object is of type `Gapic::Config::Method` and includes
676
676
  # the following configuration fields:
677
677
  #
678
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
678
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
679
679
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
680
680
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
681
681
  # include the following keys:
@@ -34,16 +34,16 @@ module Google
34
34
  self.service_name = 'google.cloud.talent.v4beta1.CompanyService'
35
35
 
36
36
  # Creates a new company entity.
37
- rpc :CreateCompany, Google::Cloud::Talent::V4beta1::CreateCompanyRequest, Google::Cloud::Talent::V4beta1::Company
37
+ rpc :CreateCompany, ::Google::Cloud::Talent::V4beta1::CreateCompanyRequest, ::Google::Cloud::Talent::V4beta1::Company
38
38
  # Retrieves specified company.
39
- rpc :GetCompany, Google::Cloud::Talent::V4beta1::GetCompanyRequest, Google::Cloud::Talent::V4beta1::Company
39
+ rpc :GetCompany, ::Google::Cloud::Talent::V4beta1::GetCompanyRequest, ::Google::Cloud::Talent::V4beta1::Company
40
40
  # Updates specified company.
41
- rpc :UpdateCompany, Google::Cloud::Talent::V4beta1::UpdateCompanyRequest, Google::Cloud::Talent::V4beta1::Company
41
+ rpc :UpdateCompany, ::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest, ::Google::Cloud::Talent::V4beta1::Company
42
42
  # Deletes specified company.
43
43
  # Prerequisite: The company has no jobs associated with it.
44
- rpc :DeleteCompany, Google::Cloud::Talent::V4beta1::DeleteCompanyRequest, Google::Protobuf::Empty
44
+ rpc :DeleteCompany, ::Google::Cloud::Talent::V4beta1::DeleteCompanyRequest, ::Google::Protobuf::Empty
45
45
  # Lists all companies associated with the project.
46
- rpc :ListCompanies, Google::Cloud::Talent::V4beta1::ListCompaniesRequest, Google::Cloud::Talent::V4beta1::ListCompaniesResponse
46
+ rpc :ListCompanies, ::Google::Cloud::Talent::V4beta1::ListCompaniesRequest, ::Google::Cloud::Talent::V4beta1::ListCompaniesResponse
47
47
  end
48
48
 
49
49
  Stub = Service.rpc_stub_class
@@ -378,7 +378,7 @@ module Google
378
378
  # Each configuration object is of type `Gapic::Config::Method` and includes
379
379
  # the following configuration fields:
380
380
  #
381
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
381
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
382
382
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
383
383
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
384
384
  # include the following keys:
@@ -35,7 +35,7 @@ module Google
35
35
 
36
36
  # Completes the specified prefix with keyword suggestions.
37
37
  # Intended for use by a job search auto-complete search box.
38
- rpc :CompleteQuery, Google::Cloud::Talent::V4beta1::CompleteQueryRequest, Google::Cloud::Talent::V4beta1::CompleteQueryResponse
38
+ rpc :CompleteQuery, ::Google::Cloud::Talent::V4beta1::CompleteQueryRequest, ::Google::Cloud::Talent::V4beta1::CompleteQueryResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
@@ -350,7 +350,7 @@ module Google
350
350
  # Each configuration object is of type `Gapic::Config::Method` and includes
351
351
  # the following configuration fields:
352
352
  #
353
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
353
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
354
354
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
355
355
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
356
356
  # include the following keys:
@@ -40,7 +40,7 @@ module Google
40
40
  # [Learn
41
41
  # more](https://cloud.google.com/talent-solution/docs/management-tools)
42
42
  # about self service tools.
43
- rpc :CreateClientEvent, Google::Cloud::Talent::V4beta1::CreateClientEventRequest, Google::Cloud::Talent::V4beta1::ClientEvent
43
+ rpc :CreateClientEvent, ::Google::Cloud::Talent::V4beta1::CreateClientEventRequest, ::Google::Cloud::Talent::V4beta1::ClientEvent
44
44
  end
45
45
 
46
46
  Stub = Service.rpc_stub_class
@@ -1568,7 +1568,7 @@ module Google
1568
1568
  # Each configuration object is of type `Gapic::Config::Method` and includes
1569
1569
  # the following configuration fields:
1570
1570
  #
1571
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
1571
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
1572
1572
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
1573
1573
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
1574
1574
  # include the following keys:
@@ -515,7 +515,7 @@ module Google
515
515
  # Each configuration object is of type `Gapic::Config::Method` and includes
516
516
  # the following configuration fields:
517
517
  #
518
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
518
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
519
519
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
520
520
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
521
521
  # include the following keys:
@@ -37,34 +37,34 @@ module Google
37
37
  #
38
38
  # Typically, the job becomes searchable within 10 seconds, but it may take
39
39
  # up to 5 minutes.
40
- rpc :CreateJob, Google::Cloud::Talent::V4beta1::CreateJobRequest, Google::Cloud::Talent::V4beta1::Job
40
+ rpc :CreateJob, ::Google::Cloud::Talent::V4beta1::CreateJobRequest, ::Google::Cloud::Talent::V4beta1::Job
41
41
  # Begins executing a batch create jobs operation.
42
- rpc :BatchCreateJobs, Google::Cloud::Talent::V4beta1::BatchCreateJobsRequest, Google::Longrunning::Operation
42
+ rpc :BatchCreateJobs, ::Google::Cloud::Talent::V4beta1::BatchCreateJobsRequest, ::Google::Longrunning::Operation
43
43
  # Retrieves the specified job, whose status is OPEN or recently EXPIRED
44
44
  # within the last 90 days.
45
- rpc :GetJob, Google::Cloud::Talent::V4beta1::GetJobRequest, Google::Cloud::Talent::V4beta1::Job
45
+ rpc :GetJob, ::Google::Cloud::Talent::V4beta1::GetJobRequest, ::Google::Cloud::Talent::V4beta1::Job
46
46
  # Updates specified job.
47
47
  #
48
48
  # Typically, updated contents become visible in search results within 10
49
49
  # seconds, but it may take up to 5 minutes.
50
- rpc :UpdateJob, Google::Cloud::Talent::V4beta1::UpdateJobRequest, Google::Cloud::Talent::V4beta1::Job
50
+ rpc :UpdateJob, ::Google::Cloud::Talent::V4beta1::UpdateJobRequest, ::Google::Cloud::Talent::V4beta1::Job
51
51
  # Begins executing a batch update jobs operation.
52
- rpc :BatchUpdateJobs, Google::Cloud::Talent::V4beta1::BatchUpdateJobsRequest, Google::Longrunning::Operation
52
+ rpc :BatchUpdateJobs, ::Google::Cloud::Talent::V4beta1::BatchUpdateJobsRequest, ::Google::Longrunning::Operation
53
53
  # Deletes the specified job.
54
54
  #
55
55
  # Typically, the job becomes unsearchable within 10 seconds, but it may take
56
56
  # up to 5 minutes.
57
- rpc :DeleteJob, Google::Cloud::Talent::V4beta1::DeleteJobRequest, Google::Protobuf::Empty
57
+ rpc :DeleteJob, ::Google::Cloud::Talent::V4beta1::DeleteJobRequest, ::Google::Protobuf::Empty
58
58
  # Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
59
- rpc :BatchDeleteJobs, Google::Cloud::Talent::V4beta1::BatchDeleteJobsRequest, Google::Protobuf::Empty
59
+ rpc :BatchDeleteJobs, ::Google::Cloud::Talent::V4beta1::BatchDeleteJobsRequest, ::Google::Protobuf::Empty
60
60
  # Lists jobs by filter.
61
- rpc :ListJobs, Google::Cloud::Talent::V4beta1::ListJobsRequest, Google::Cloud::Talent::V4beta1::ListJobsResponse
61
+ rpc :ListJobs, ::Google::Cloud::Talent::V4beta1::ListJobsRequest, ::Google::Cloud::Talent::V4beta1::ListJobsResponse
62
62
  # Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
63
63
  #
64
64
  # This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
65
65
  # present in the database, and only returns jobs that the caller has
66
66
  # permission to search against.
67
- rpc :SearchJobs, Google::Cloud::Talent::V4beta1::SearchJobsRequest, Google::Cloud::Talent::V4beta1::SearchJobsResponse
67
+ rpc :SearchJobs, ::Google::Cloud::Talent::V4beta1::SearchJobsRequest, ::Google::Cloud::Talent::V4beta1::SearchJobsResponse
68
68
  # Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
69
69
  #
70
70
  # This API call is intended for the use case of targeting passive job
@@ -75,7 +75,7 @@ module Google
75
75
  # This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
76
76
  # present in the database, and only returns jobs the caller has
77
77
  # permission to search against.
78
- rpc :SearchJobsForAlert, Google::Cloud::Talent::V4beta1::SearchJobsRequest, Google::Cloud::Talent::V4beta1::SearchJobsResponse
78
+ rpc :SearchJobsForAlert, ::Google::Cloud::Talent::V4beta1::SearchJobsRequest, ::Google::Cloud::Talent::V4beta1::SearchJobsResponse
79
79
  end
80
80
 
81
81
  Stub = Service.rpc_stub_class
@@ -928,7 +928,7 @@ module Google
928
928
  # Each configuration object is of type `Gapic::Config::Method` and includes
929
929
  # the following configuration fields:
930
930
  #
931
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
931
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
932
932
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
933
933
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
934
934
  # include the following keys:
@@ -35,24 +35,24 @@ module Google
35
35
  self.service_name = 'google.cloud.talent.v4beta1.ProfileService'
36
36
 
37
37
  # Lists profiles by filter. The order is unspecified.
38
- rpc :ListProfiles, Google::Cloud::Talent::V4beta1::ListProfilesRequest, Google::Cloud::Talent::V4beta1::ListProfilesResponse
38
+ rpc :ListProfiles, ::Google::Cloud::Talent::V4beta1::ListProfilesRequest, ::Google::Cloud::Talent::V4beta1::ListProfilesResponse
39
39
  # Creates and returns a new profile.
40
- rpc :CreateProfile, Google::Cloud::Talent::V4beta1::CreateProfileRequest, Google::Cloud::Talent::V4beta1::Profile
40
+ rpc :CreateProfile, ::Google::Cloud::Talent::V4beta1::CreateProfileRequest, ::Google::Cloud::Talent::V4beta1::Profile
41
41
  # Gets the specified profile.
42
- rpc :GetProfile, Google::Cloud::Talent::V4beta1::GetProfileRequest, Google::Cloud::Talent::V4beta1::Profile
42
+ rpc :GetProfile, ::Google::Cloud::Talent::V4beta1::GetProfileRequest, ::Google::Cloud::Talent::V4beta1::Profile
43
43
  # Updates the specified profile and returns the updated result.
44
- rpc :UpdateProfile, Google::Cloud::Talent::V4beta1::UpdateProfileRequest, Google::Cloud::Talent::V4beta1::Profile
44
+ rpc :UpdateProfile, ::Google::Cloud::Talent::V4beta1::UpdateProfileRequest, ::Google::Cloud::Talent::V4beta1::Profile
45
45
  # Deletes the specified profile.
46
46
  # Prerequisite: The profile has no associated applications or assignments
47
47
  # associated.
48
- rpc :DeleteProfile, Google::Cloud::Talent::V4beta1::DeleteProfileRequest, Google::Protobuf::Empty
48
+ rpc :DeleteProfile, ::Google::Cloud::Talent::V4beta1::DeleteProfileRequest, ::Google::Protobuf::Empty
49
49
  # Searches for profiles within a tenant.
50
50
  #
51
51
  # For example, search by raw queries "software engineer in Mountain View" or
52
52
  # search by structured filters (location filter, education filter, etc.).
53
53
  #
54
54
  # See [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] for more information.
55
- rpc :SearchProfiles, Google::Cloud::Talent::V4beta1::SearchProfilesRequest, Google::Cloud::Talent::V4beta1::SearchProfilesResponse
55
+ rpc :SearchProfiles, ::Google::Cloud::Talent::V4beta1::SearchProfilesRequest, ::Google::Cloud::Talent::V4beta1::SearchProfilesResponse
56
56
  end
57
57
 
58
58
  Stub = Service.rpc_stub_class
@@ -655,7 +655,7 @@ module Google
655
655
  # Each configuration object is of type `Gapic::Config::Method` and includes
656
656
  # the following configuration fields:
657
657
  #
658
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
658
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
659
659
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
660
660
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
661
661
  # include the following keys:
@@ -34,15 +34,15 @@ module Google
34
34
  self.service_name = 'google.cloud.talent.v4beta1.TenantService'
35
35
 
36
36
  # Creates a new tenant entity.
37
- rpc :CreateTenant, Google::Cloud::Talent::V4beta1::CreateTenantRequest, Google::Cloud::Talent::V4beta1::Tenant
37
+ rpc :CreateTenant, ::Google::Cloud::Talent::V4beta1::CreateTenantRequest, ::Google::Cloud::Talent::V4beta1::Tenant
38
38
  # Retrieves specified tenant.
39
- rpc :GetTenant, Google::Cloud::Talent::V4beta1::GetTenantRequest, Google::Cloud::Talent::V4beta1::Tenant
39
+ rpc :GetTenant, ::Google::Cloud::Talent::V4beta1::GetTenantRequest, ::Google::Cloud::Talent::V4beta1::Tenant
40
40
  # Updates specified tenant.
41
- rpc :UpdateTenant, Google::Cloud::Talent::V4beta1::UpdateTenantRequest, Google::Cloud::Talent::V4beta1::Tenant
41
+ rpc :UpdateTenant, ::Google::Cloud::Talent::V4beta1::UpdateTenantRequest, ::Google::Cloud::Talent::V4beta1::Tenant
42
42
  # Deletes specified tenant.
43
- rpc :DeleteTenant, Google::Cloud::Talent::V4beta1::DeleteTenantRequest, Google::Protobuf::Empty
43
+ rpc :DeleteTenant, ::Google::Cloud::Talent::V4beta1::DeleteTenantRequest, ::Google::Protobuf::Empty
44
44
  # Lists all tenants associated with the project.
45
- rpc :ListTenants, Google::Cloud::Talent::V4beta1::ListTenantsRequest, Google::Cloud::Talent::V4beta1::ListTenantsResponse
45
+ rpc :ListTenants, ::Google::Cloud::Talent::V4beta1::ListTenantsRequest, ::Google::Cloud::Talent::V4beta1::ListTenantsResponse
46
46
  end
47
47
 
48
48
  Stub = Service.rpc_stub_class
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Talent
23
23
  module V4beta1
24
- VERSION = "0.2.5"
24
+ VERSION = "0.2.6"
25
25
  end
26
26
  end
27
27
  end
@@ -43,12 +43,12 @@ module Google
43
43
  #
44
44
  # The ResourceDescriptor Yaml config will look like:
45
45
  #
46
- # resources:
47
- # - type: "pubsub.googleapis.com/Topic"
48
- # name_descriptor:
49
- # - pattern: "projects/\\{project}/topics/\\{topic}"
50
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
- # parent_name_extractor: "projects/\\{project}"
46
+ # resources:
47
+ # - type: "pubsub.googleapis.com/Topic"
48
+ # name_descriptor:
49
+ # - pattern: "projects/{project}/topics/{topic}"
50
+ # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
+ # parent_name_extractor: "projects/{project}"
52
52
  #
53
53
  # Sometimes, resources have multiple patterns, typically because they can
54
54
  # live under multiple parents.
@@ -183,15 +183,24 @@ module Google
183
183
  # }
184
184
  # @!attribute [rw] plural
185
185
  # @return [::String]
186
- # The plural name used in the resource name, such as 'projects' for
187
- # the name of 'projects/\\{project}'. It is the same concept of the `plural`
188
- # field in k8s CRD spec
186
+ # The plural name used in the resource name and permission names, such as
187
+ # 'projects' for the resource name of 'projects/\\{project}' and the permission
188
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
189
+ # concept of the `plural` field in k8s CRD spec
189
190
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
191
+ #
192
+ # Note: The plural form is required even for singleton resources. See
193
+ # https://aip.dev/156
190
194
  # @!attribute [rw] singular
191
195
  # @return [::String]
192
196
  # The same concept of the `singular` field in k8s CRD spec
193
197
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
194
198
  # Such as "project" for the `resourcemanager.googleapis.com/Project` type.
199
+ # @!attribute [rw] style
200
+ # @return [::Array<::Google::Api::ResourceDescriptor::Style>]
201
+ # Style flag(s) for this resource.
202
+ # These indicate that a resource is expected to conform to a given
203
+ # style. See the specific style flags for additional information.
195
204
  class ResourceDescriptor
196
205
  include ::Google::Protobuf::MessageExts
197
206
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -211,6 +220,22 @@ module Google
211
220
  # that from being necessary once there are multiple patterns.)
212
221
  FUTURE_MULTI_PATTERN = 2
213
222
  end
223
+
224
+ # A flag representing a specific style that a resource claims to conform to.
225
+ module Style
226
+ # The unspecified value. Do not use.
227
+ STYLE_UNSPECIFIED = 0
228
+
229
+ # This resource is intended to be "declarative-friendly".
230
+ #
231
+ # Declarative-friendly resources must be more strictly consistent, and
232
+ # setting this to true communicates to tools that this resource should
233
+ # adhere to declarative-friendly expectations.
234
+ #
235
+ # Note: This is used by the API linter (linter.aip.dev) to enable
236
+ # additional checks.
237
+ DECLARATIVE_FRIENDLY = 1
238
+ end
214
239
  end
215
240
 
216
241
  # Defines a proto annotation that describes a string field that refers to
@@ -226,6 +251,17 @@ module Google
226
251
  # type: "pubsub.googleapis.com/Topic"
227
252
  # }];
228
253
  # }
254
+ #
255
+ # Occasionally, a field may reference an arbitrary resource. In this case,
256
+ # APIs use the special value * in their resource reference.
257
+ #
258
+ # Example:
259
+ #
260
+ # message GetIamPolicyRequest {
261
+ # string resource = 2 [(google.api.resource_reference) = {
262
+ # type: "*"
263
+ # }];
264
+ # }
229
265
  # @!attribute [rw] child_type
230
266
  # @return [::String]
231
267
  # The resource type of a child collection that the annotated field
@@ -234,11 +270,11 @@ module Google
234
270
  #
235
271
  # Example:
236
272
  #
237
- # message ListLogEntriesRequest {
238
- # string parent = 1 [(google.api.resource_reference) = {
239
- # child_type: "logging.googleapis.com/LogEntry"
240
- # };
241
- # }
273
+ # message ListLogEntriesRequest {
274
+ # string parent = 1 [(google.api.resource_reference) = {
275
+ # child_type: "logging.googleapis.com/LogEntry"
276
+ # };
277
+ # }
242
278
  class ResourceReference
243
279
  include ::Google::Protobuf::MessageExts
244
280
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-talent-v4beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-10 00:00:00.000000000 Z
11
+ date: 2021-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  - !ruby/object:Gem::Version
272
272
  version: '0'
273
273
  requirements: []
274
- rubygems_version: 3.1.3
274
+ rubygems_version: 3.2.6
275
275
  signing_key:
276
276
  specification_version: 4
277
277
  summary: API Client library for the Cloud Talent Solution V4beta1 API