google-cloud-talent-v4beta1 0.4.6 → 0.5.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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +6 -6
  3. data/README.md +9 -4
  4. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -1
  5. data/lib/google/cloud/talent/v4beta1/common_pb.rb +3 -65
  6. data/lib/google/cloud/talent/v4beta1/company_pb.rb +2 -2
  7. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +2 -1
  8. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +3 -2
  9. data/lib/google/cloud/talent/v4beta1/event_pb.rb +2 -16
  10. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +2 -1
  11. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +3 -102
  12. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -1
  13. data/lib/google/cloud/talent/v4beta1/job_pb.rb +2 -3
  14. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +48 -23
  15. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +10 -2
  16. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +2 -3
  17. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +2 -1
  18. data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
  19. data/lib/google/cloud/talent/v4beta1.rb +3 -3
  20. data/proto_docs/google/cloud/talent/v4beta1/common.rb +10 -227
  21. data/proto_docs/google/cloud/talent/v4beta1/event.rb +1 -60
  22. data/proto_docs/google/cloud/talent/v4beta1/filters.rb +40 -482
  23. data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +1 -1
  24. data/proto_docs/google/cloud/talent/v4beta1/job.rb +1 -1
  25. data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +64 -16
  26. data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +1 -1
  27. data/proto_docs/google/protobuf/any.rb +3 -3
  28. data/proto_docs/google/type/timeofday.rb +1 -1
  29. metadata +3 -22
  30. data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -64
  31. data/lib/google/cloud/talent/v4beta1/application_service/client.rb +0 -813
  32. data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +0 -52
  33. data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +0 -155
  34. data/lib/google/cloud/talent/v4beta1/application_service.rb +0 -50
  35. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -56
  36. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -54
  37. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -214
  38. data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +0 -1107
  39. data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +0 -52
  40. data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +0 -69
  41. data/lib/google/cloud/talent/v4beta1/profile_service.rb +0 -50
  42. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -92
  43. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -63
  44. data/proto_docs/google/cloud/talent/v4beta1/application.rb +0 -169
  45. data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +0 -122
  46. data/proto_docs/google/cloud/talent/v4beta1/profile.rb +0 -811
  47. data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +0 -392
  48. data/proto_docs/google/type/date.rb +0 -53
@@ -1,392 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2020 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
-
19
-
20
- module Google
21
- module Cloud
22
- module Talent
23
- module V4beta1
24
- # List profiles request.
25
- # @!attribute [rw] parent
26
- # @return [::String]
27
- # Required. The resource name of the tenant under which the profile is created.
28
- #
29
- # The format is "projects/\\{project_id}/tenants/\\{tenant_id}". For example,
30
- # "projects/foo/tenants/bar".
31
- # @!attribute [rw] filter
32
- # @return [::String]
33
- # The filter string specifies the profiles to be enumerated.
34
- #
35
- # Supported operator: =, AND
36
- #
37
- # The field(s) eligible for filtering are:
38
- #
39
- # * `externalId`
40
- # * `groupId`
41
- #
42
- # externalId and groupId cannot be specified at the same time. If both
43
- # externalId and groupId are provided, the API will return a bad request
44
- # error.
45
- #
46
- # Sample Query:
47
- #
48
- # * externalId = "externalId-1"
49
- # * groupId = "groupId-1"
50
- # @!attribute [rw] page_token
51
- # @return [::String]
52
- # The token that specifies the current offset (that is, starting result).
53
- #
54
- # Please set the value to {::Google::Cloud::Talent::V4beta1::ListProfilesResponse#next_page_token ListProfilesResponse.next_page_token} to
55
- # continue the list.
56
- # @!attribute [rw] page_size
57
- # @return [::Integer]
58
- # The maximum number of profiles to be returned, at most 100.
59
- #
60
- # Default is 100 unless a positive number smaller than 100 is specified.
61
- # @!attribute [rw] read_mask
62
- # @return [::Google::Protobuf::FieldMask]
63
- # A field mask to specify the profile fields to be listed in response.
64
- # All fields are listed if it is unset.
65
- #
66
- # Valid values are:
67
- #
68
- # * name
69
- class ListProfilesRequest
70
- include ::Google::Protobuf::MessageExts
71
- extend ::Google::Protobuf::MessageExts::ClassMethods
72
- end
73
-
74
- # The List profiles response object.
75
- # @!attribute [rw] profiles
76
- # @return [::Array<::Google::Cloud::Talent::V4beta1::Profile>]
77
- # Profiles for the specific tenant.
78
- # @!attribute [rw] next_page_token
79
- # @return [::String]
80
- # A token to retrieve the next page of results. This is empty if there are no
81
- # more results.
82
- class ListProfilesResponse
83
- include ::Google::Protobuf::MessageExts
84
- extend ::Google::Protobuf::MessageExts::ClassMethods
85
- end
86
-
87
- # Create profile request.
88
- # @!attribute [rw] parent
89
- # @return [::String]
90
- # Required. The name of the tenant this profile belongs to.
91
- #
92
- # The format is "projects/\\{project_id}/tenants/\\{tenant_id}". For example,
93
- # "projects/foo/tenants/bar".
94
- # @!attribute [rw] profile
95
- # @return [::Google::Cloud::Talent::V4beta1::Profile]
96
- # Required. The profile to be created.
97
- class CreateProfileRequest
98
- include ::Google::Protobuf::MessageExts
99
- extend ::Google::Protobuf::MessageExts::ClassMethods
100
- end
101
-
102
- # Get profile request.
103
- # @!attribute [rw] name
104
- # @return [::String]
105
- # Required. Resource name of the profile to get.
106
- #
107
- # The format is
108
- # "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}". For
109
- # example, "projects/foo/tenants/bar/profiles/baz".
110
- class GetProfileRequest
111
- include ::Google::Protobuf::MessageExts
112
- extend ::Google::Protobuf::MessageExts::ClassMethods
113
- end
114
-
115
- # Update profile request
116
- # @!attribute [rw] profile
117
- # @return [::Google::Cloud::Talent::V4beta1::Profile]
118
- # Required. Profile to be updated.
119
- # @!attribute [rw] update_mask
120
- # @return [::Google::Protobuf::FieldMask]
121
- # A field mask to specify the profile fields to update.
122
- #
123
- # A full update is performed if it is unset.
124
- class UpdateProfileRequest
125
- include ::Google::Protobuf::MessageExts
126
- extend ::Google::Protobuf::MessageExts::ClassMethods
127
- end
128
-
129
- # Delete profile request.
130
- # @!attribute [rw] name
131
- # @return [::String]
132
- # Required. Resource name of the profile to be deleted.
133
- #
134
- # The format is
135
- # "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}". For
136
- # example, "projects/foo/tenants/bar/profiles/baz".
137
- class DeleteProfileRequest
138
- include ::Google::Protobuf::MessageExts
139
- extend ::Google::Protobuf::MessageExts::ClassMethods
140
- end
141
-
142
- # The request body of the `SearchProfiles` call.
143
- # @!attribute [rw] parent
144
- # @return [::String]
145
- # Required. The resource name of the tenant to search within.
146
- #
147
- # The format is "projects/\\{project_id}/tenants/\\{tenant_id}". For example,
148
- # "projects/foo/tenants/bar".
149
- # @!attribute [rw] request_metadata
150
- # @return [::Google::Cloud::Talent::V4beta1::RequestMetadata]
151
- # Required. The meta information collected about the profile search user. This is used
152
- # to improve the search quality of the service. These values are provided by
153
- # users, and must be precise and consistent.
154
- # @!attribute [rw] profile_query
155
- # @return [::Google::Cloud::Talent::V4beta1::ProfileQuery]
156
- # Search query to execute. See {::Google::Cloud::Talent::V4beta1::ProfileQuery ProfileQuery} for more details.
157
- # @!attribute [rw] page_size
158
- # @return [::Integer]
159
- # A limit on the number of profiles returned in the search results.
160
- # A value above the default value 10 can increase search response time.
161
- #
162
- # The maximum value allowed is 100. Otherwise an error is thrown.
163
- # @!attribute [rw] page_token
164
- # @return [::String]
165
- # The pageToken, similar to offset enables users of the API to paginate
166
- # through the search results. To retrieve the first page of results, set the
167
- # pageToken to empty. The search response includes a
168
- # {::Google::Cloud::Talent::V4beta1::SearchProfilesResponse#next_page_token nextPageToken} field that can be
169
- # used to populate the pageToken field for the next page of results. Using
170
- # pageToken instead of offset increases the performance of the API,
171
- # especially compared to larger offset values.
172
- # @!attribute [rw] offset
173
- # @return [::Integer]
174
- # An integer that specifies the current offset (that is, starting result) in
175
- # search results. This field is only considered if {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest#page_token page_token} is unset.
176
- #
177
- # The maximum allowed value is 5000. Otherwise an error is thrown.
178
- #
179
- # For example, 0 means to search from the first profile, and 10 means to
180
- # search from the 11th profile. This can be used for pagination, for example
181
- # pageSize = 10 and offset = 10 means to search from the second page.
182
- # @!attribute [rw] disable_spell_check
183
- # @return [::Boolean]
184
- # This flag controls the spell-check feature. If `false`, the
185
- # service attempts to correct a misspelled query.
186
- #
187
- # For example, "enginee" is corrected to "engineer".
188
- # @!attribute [rw] order_by
189
- # @return [::String]
190
- # The criteria that determines how search results are sorted.
191
- # Defaults is "relevance desc" if no value is specified.
192
- #
193
- # Supported options are:
194
- #
195
- # * "relevance desc": By descending relevance, as determined by the API
196
- # algorithms.
197
- # * "update_date desc": Sort by {::Google::Cloud::Talent::V4beta1::Profile#update_time Profile.update_time} in descending order
198
- # (recently updated profiles first).
199
- # * "create_date desc": Sort by {::Google::Cloud::Talent::V4beta1::Profile#create_time Profile.create_time} in descending order
200
- # (recently created profiles first).
201
- # * "first_name": Sort by {::Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#given_name PersonName.PersonStructuredName.given_name} in
202
- # ascending order.
203
- # * "first_name desc": Sort by {::Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#given_name PersonName.PersonStructuredName.given_name}
204
- # in descending order.
205
- # * "last_name": Sort by {::Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName.PersonStructuredName.family_name} in
206
- # ascending order.
207
- # * "last_name desc": Sort by {::Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName.PersonStructuredName.family_name}
208
- # in ascending order.
209
- # @!attribute [rw] case_sensitive_sort
210
- # @return [::Boolean]
211
- # When sort by field is based on alphabetical order, sort values case
212
- # sensitively (based on ASCII) when the value is set to true. Default value
213
- # is case in-sensitive sort (false).
214
- # @!attribute [rw] histogram_queries
215
- # @return [::Array<::Google::Cloud::Talent::V4beta1::HistogramQuery>]
216
- # A list of expressions specifies histogram requests against matching
217
- # profiles for {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
218
- #
219
- # The expression syntax looks like a function definition with parameters.
220
- #
221
- # Function syntax: function_name(histogram_facet[, list of buckets])
222
- #
223
- # Data types:
224
- #
225
- # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
226
- # * String: string like "any string with backslash escape for quote(\")."
227
- # * Number: whole number and floating point number like 10, -1 and -0.01.
228
- # * List: list of elements with comma(,) separator surrounded by square
229
- # brackets. For example, [1, 2, 3] and ["one", "two", "three"].
230
- #
231
- # Built-in constants:
232
- #
233
- # * MIN (minimum number similar to java Double.MIN_VALUE)
234
- # * MAX (maximum number similar to java Double.MAX_VALUE)
235
- #
236
- # Built-in functions:
237
- #
238
- # * bucket(start, end[, label])
239
- # Bucket build-in function creates a bucket with range of [start, end). Note
240
- # that the end is exclusive.
241
- # For example, bucket(1, MAX, "positive number") or bucket(1, 10).
242
- #
243
- # Histogram Facets:
244
- #
245
- # * admin1: Admin1 is a global placeholder for referring to state, province,
246
- # or the particular term a country uses to define the geographic structure
247
- # below the country level. Examples include states codes such as "CA", "IL",
248
- # "NY", and provinces, such as "BC".
249
- # * locality: Locality is a global placeholder for referring to city, town,
250
- # or the particular term a country uses to define the geographic structure
251
- # below the admin1 level. Examples include city names such as
252
- # "Mountain View" and "New York".
253
- # * extended_locality: Extended locality is concatenated version of admin1
254
- # and locality with comma separator. For example, "Mountain View, CA" and
255
- # "New York, NY".
256
- # * postal_code: Postal code of profile which follows locale code.
257
- # * country: Country code (ISO-3166-1 alpha-2 code) of profile, such as US,
258
- # JP, GB.
259
- # * job_title: Normalized job titles specified in EmploymentHistory.
260
- # * company_name: Normalized company name of profiles to match on.
261
- # * institution: The school name. For example, "MIT",
262
- # "University of California, Berkeley"
263
- # * degree: Highest education degree in ISCED code. Each value in degree
264
- # covers a specific level of education, without any expansion to upper nor
265
- # lower levels of education degree.
266
- # * experience_in_months: experience in months. 0 means 0 month to 1 month
267
- # (exclusive).
268
- # * application_date: The application date specifies application start dates.
269
- # See {::Google::Cloud::Talent::V4beta1::ApplicationDateFilter ApplicationDateFilter} for more details.
270
- # * application_outcome_notes: The application outcome reason specifies the
271
- # reasons behind the outcome of the job application.
272
- # See {::Google::Cloud::Talent::V4beta1::ApplicationOutcomeNotesFilter ApplicationOutcomeNotesFilter} for more details.
273
- # * application_job_title: The application job title specifies the job
274
- # applied for in the application.
275
- # See {::Google::Cloud::Talent::V4beta1::ApplicationJobFilter ApplicationJobFilter} for more details.
276
- # * hirable_status: Hirable status specifies the profile's hirable status.
277
- # * string_custom_attribute: String custom attributes. Values can be accessed
278
- # via square bracket notation like string_custom_attribute["key1"].
279
- # * numeric_custom_attribute: Numeric custom attributes. Values can be
280
- # accessed via square bracket notation like numeric_custom_attribute["key1"].
281
- #
282
- # Example expressions:
283
- #
284
- # * count(admin1)
285
- # * count(experience_in_months, [bucket(0, 12, "1 year"),
286
- # bucket(12, 36, "1-3 years"), bucket(36, MAX, "3+ years")])
287
- # * count(string_custom_attribute["assigned_recruiter"])
288
- # * count(numeric_custom_attribute["favorite_number"],
289
- # [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])
290
- # @!attribute [rw] result_set_id
291
- # @return [::String]
292
- # An id that uniquely identifies the result set of a
293
- # {::Google::Cloud::Talent::V4beta1::ProfileService::Client#search_profiles SearchProfiles} call. The id should be
294
- # retrieved from the
295
- # {::Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse} message returned from a previous
296
- # invocation of {::Google::Cloud::Talent::V4beta1::ProfileService::Client#search_profiles SearchProfiles}.
297
- #
298
- # A result set is an ordered list of search results.
299
- #
300
- # If this field is not set, a new result set is computed based on the
301
- # {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest#profile_query profile_query}. A new {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest#result_set_id result_set_id} is returned as a handle to
302
- # access this result set.
303
- #
304
- # If this field is set, the service will ignore the resource and
305
- # {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest#profile_query profile_query} values, and simply retrieve a page of results from the
306
- # corresponding result set. In this case, one and only one of {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest#page_token page_token}
307
- # or {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest#offset offset} must be set.
308
- #
309
- # A typical use case is to invoke {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest} without this
310
- # field, then use the resulting {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest#result_set_id result_set_id} in
311
- # {::Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse} to page through the results.
312
- # @!attribute [rw] strict_keywords_search
313
- # @return [::Boolean]
314
- # This flag is used to indicate whether the service will attempt to
315
- # understand synonyms and terms related to the search query or treat the
316
- # query "as is" when it generates a set of results. By default this flag is
317
- # set to false, thus allowing expanded results to also be returned. For
318
- # example a search for "software engineer" might also return candidates who
319
- # have experience in jobs similar to software engineer positions. By setting
320
- # this flag to true, the service will only attempt to deliver candidates has
321
- # software engineer in his/her global fields by treating "software engineer"
322
- # as a keyword.
323
- #
324
- # It is recommended to provide a feature in the UI (such as a checkbox) to
325
- # allow recruiters to set this flag to true if they intend to search for
326
- # longer boolean strings.
327
- class SearchProfilesRequest
328
- include ::Google::Protobuf::MessageExts
329
- extend ::Google::Protobuf::MessageExts::ClassMethods
330
- end
331
-
332
- # Response of SearchProfiles method.
333
- # @!attribute [rw] estimated_total_size
334
- # @return [::Integer]
335
- # An estimation of the number of profiles that match the specified query.
336
- #
337
- # This number isn't guaranteed to be accurate.
338
- # @!attribute [rw] spell_correction
339
- # @return [::Google::Cloud::Talent::V4beta1::SpellingCorrection]
340
- # The spell checking result, and correction.
341
- # @!attribute [rw] metadata
342
- # @return [::Google::Cloud::Talent::V4beta1::ResponseMetadata]
343
- # Additional information for the API invocation, such as the request
344
- # tracking id.
345
- # @!attribute [rw] next_page_token
346
- # @return [::String]
347
- # A token to retrieve the next page of results. This is empty if there are no
348
- # more results.
349
- # @!attribute [rw] histogram_query_results
350
- # @return [::Array<::Google::Cloud::Talent::V4beta1::HistogramQueryResult>]
351
- # The histogram results that match with specified
352
- # {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest#histogram_queries SearchProfilesRequest.histogram_queries}.
353
- # @!attribute [rw] summarized_profiles
354
- # @return [::Array<::Google::Cloud::Talent::V4beta1::SummarizedProfile>]
355
- # The profile entities that match the specified {::Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
356
- # @!attribute [rw] result_set_id
357
- # @return [::String]
358
- # An id that uniquely identifies the result set of a
359
- # {::Google::Cloud::Talent::V4beta1::ProfileService::Client#search_profiles SearchProfiles} call for consistent
360
- # results.
361
- class SearchProfilesResponse
362
- include ::Google::Protobuf::MessageExts
363
- extend ::Google::Protobuf::MessageExts::ClassMethods
364
- end
365
-
366
- # Profile entry with metadata inside {::Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}.
367
- # @!attribute [rw] profiles
368
- # @return [::Array<::Google::Cloud::Talent::V4beta1::Profile>]
369
- # A list of profiles that are linked by {::Google::Cloud::Talent::V4beta1::Profile#group_id Profile.group_id}.
370
- # @!attribute [rw] summary
371
- # @return [::Google::Cloud::Talent::V4beta1::Profile]
372
- # A profile summary shows the profile summary and how the profile matches the
373
- # search query.
374
- #
375
- # In profile summary, the profiles with the same {::Google::Cloud::Talent::V4beta1::Profile#group_id Profile.group_id} are
376
- # merged together. Among profiles, same education/employment records may be
377
- # slightly different but they are merged into one with best efforts.
378
- #
379
- # For example, in one profile the school name is "UC Berkeley" and the field
380
- # study is "Computer Science" and in another one the school name is
381
- # "University of California at Berkeley" and the field study is "CS". The API
382
- # merges these two inputs into one and selects one value for each field. For
383
- # example, the school name in summary is set to "University of California at
384
- # Berkeley" and the field of study is set to "Computer Science".
385
- class SummarizedProfile
386
- include ::Google::Protobuf::MessageExts
387
- extend ::Google::Protobuf::MessageExts::ClassMethods
388
- end
389
- end
390
- end
391
- end
392
- end
@@ -1,53 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2020 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
-
19
-
20
- module Google
21
- module Type
22
- # Represents a whole or partial calendar date, such as a birthday. The time of
23
- # day and time zone are either specified elsewhere or are insignificant. The
24
- # date is relative to the Gregorian Calendar. This can represent one of the
25
- # following:
26
- #
27
- # * A full date, with non-zero year, month, and day values
28
- # * A month and day value, with a zero year, such as an anniversary
29
- # * A year on its own, with zero month and day values
30
- # * A year and month value, with a zero day, such as a credit card expiration
31
- # date
32
- #
33
- # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
34
- # `google.protobuf.Timestamp`.
35
- # @!attribute [rw] year
36
- # @return [::Integer]
37
- # Year of the date. Must be from 1 to 9999, or 0 to specify a date without
38
- # a year.
39
- # @!attribute [rw] month
40
- # @return [::Integer]
41
- # Month of a year. Must be from 1 to 12, or 0 to specify a year without a
42
- # month and day.
43
- # @!attribute [rw] day
44
- # @return [::Integer]
45
- # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
46
- # to specify a year by itself or a year and month where the day isn't
47
- # significant.
48
- class Date
49
- include ::Google::Protobuf::MessageExts
50
- extend ::Google::Protobuf::MessageExts::ClassMethods
51
- end
52
- end
53
- end