google-cloud-talent-v4beta1 0.2.5 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +8 -8
  3. data/LICENSE.md +188 -190
  4. data/README.md +67 -3
  5. data/lib/google/cloud/talent/v4beta1.rb +3 -0
  6. data/lib/google/cloud/talent/v4beta1/application_service/client.rb +20 -23
  7. data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +2 -2
  8. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +5 -5
  9. data/lib/google/cloud/talent/v4beta1/company_service/client.rb +20 -23
  10. data/lib/google/cloud/talent/v4beta1/company_service/paths.rb +1 -1
  11. data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +5 -5
  12. data/lib/google/cloud/talent/v4beta1/completion/client.rb +14 -11
  13. data/lib/google/cloud/talent/v4beta1/completion/paths.rb +1 -1
  14. data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +1 -1
  15. data/lib/google/cloud/talent/v4beta1/event_service/client.rb +13 -7
  16. data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +1 -1
  17. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +25 -28
  18. data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +96 -11
  19. data/lib/google/cloud/talent/v4beta1/job_service/paths.rb +2 -2
  20. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +10 -10
  21. data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +21 -24
  22. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +6 -6
  23. data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +20 -23
  24. data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +5 -5
  25. data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
  26. data/proto_docs/google/api/field_behavior.rb +12 -0
  27. data/proto_docs/google/api/resource.rb +50 -14
  28. data/proto_docs/google/longrunning/operations.rb +17 -3
  29. data/proto_docs/google/protobuf/any.rb +5 -2
  30. data/proto_docs/google/protobuf/timestamp.rb +10 -1
  31. data/proto_docs/google/type/date.rb +14 -11
  32. data/proto_docs/google/type/latlng.rb +2 -2
  33. data/proto_docs/google/type/money.rb +1 -1
  34. data/proto_docs/google/type/timeofday.rb +2 -1
  35. metadata +19 -11
@@ -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
@@ -60,7 +60,7 @@ module Google
60
60
  parent_config = while namespace.any?
61
61
  parent_name = namespace.join "::"
62
62
  parent_const = const_get parent_name
63
- break parent_const.configure if parent_const&.respond_to? :configure
63
+ break parent_const.configure if parent_const.respond_to? :configure
64
64
  namespace.pop
65
65
  end
66
66
  default_config = Client::Configuration.new parent_config
@@ -69,28 +69,19 @@ module Google
69
69
 
70
70
  default_config.rpcs.get_tenant.timeout = 30.0
71
71
  default_config.rpcs.get_tenant.retry_policy = {
72
- initial_delay: 0.1,
73
- max_delay: 60.0,
74
- multiplier: 1.3,
75
- retry_codes: [4, 14]
72
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
76
73
  }
77
74
 
78
75
  default_config.rpcs.update_tenant.timeout = 30.0
79
76
 
80
77
  default_config.rpcs.delete_tenant.timeout = 30.0
81
78
  default_config.rpcs.delete_tenant.retry_policy = {
82
- initial_delay: 0.1,
83
- max_delay: 60.0,
84
- multiplier: 1.3,
85
- retry_codes: [4, 14]
79
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
86
80
  }
87
81
 
88
82
  default_config.rpcs.list_tenants.timeout = 30.0
89
83
  default_config.rpcs.list_tenants.retry_policy = {
90
- initial_delay: 0.1,
91
- max_delay: 60.0,
92
- multiplier: 1.3,
93
- retry_codes: [4, 14]
84
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
94
85
  }
95
86
 
96
87
  default_config
@@ -154,8 +145,14 @@ module Google
154
145
 
155
146
  # Create credentials
156
147
  credentials = @config.credentials
157
- credentials ||= Credentials.default scope: @config.scope
158
- if credentials.is_a?(String) || credentials.is_a?(Hash)
148
+ # Use self-signed JWT if the scope and endpoint are unchanged from default,
149
+ # but only if the default endpoint does not have a region prefix.
150
+ enable_self_signed_jwt = @config.scope == Client.configure.scope &&
151
+ @config.endpoint == Client.configure.endpoint &&
152
+ !@config.endpoint.split(".").first.include?("-")
153
+ credentials ||= Credentials.default scope: @config.scope,
154
+ enable_self_signed_jwt: enable_self_signed_jwt
155
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
159
156
  credentials = Credentials.new credentials, scope: @config.scope
160
157
  end
161
158
  @quota_project_id = @config.quota_project
@@ -622,7 +619,7 @@ module Google
622
619
  config_attr :scope, nil, ::String, ::Array, nil
623
620
  config_attr :lib_name, nil, ::String, nil
624
621
  config_attr :lib_version, nil, ::String, nil
625
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
622
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
626
623
  config_attr :interceptors, nil, ::Array, nil
627
624
  config_attr :timeout, nil, ::Numeric, nil
628
625
  config_attr :metadata, nil, ::Hash, nil
@@ -643,7 +640,7 @@ module Google
643
640
  def rpcs
644
641
  @rpcs ||= begin
645
642
  parent_rpcs = nil
646
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
643
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
647
644
  Rpcs.new parent_rpcs
648
645
  end
649
646
  end
@@ -655,7 +652,7 @@ module Google
655
652
  # Each configuration object is of type `Gapic::Config::Method` and includes
656
653
  # the following configuration fields:
657
654
  #
658
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
655
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
659
656
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
660
657
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
661
658
  # include the following keys:
@@ -694,15 +691,15 @@ module Google
694
691
 
695
692
  # @private
696
693
  def initialize parent_rpcs = nil
697
- create_tenant_config = parent_rpcs&.create_tenant if parent_rpcs&.respond_to? :create_tenant
694
+ create_tenant_config = parent_rpcs.create_tenant if parent_rpcs.respond_to? :create_tenant
698
695
  @create_tenant = ::Gapic::Config::Method.new create_tenant_config
699
- get_tenant_config = parent_rpcs&.get_tenant if parent_rpcs&.respond_to? :get_tenant
696
+ get_tenant_config = parent_rpcs.get_tenant if parent_rpcs.respond_to? :get_tenant
700
697
  @get_tenant = ::Gapic::Config::Method.new get_tenant_config
701
- update_tenant_config = parent_rpcs&.update_tenant if parent_rpcs&.respond_to? :update_tenant
698
+ update_tenant_config = parent_rpcs.update_tenant if parent_rpcs.respond_to? :update_tenant
702
699
  @update_tenant = ::Gapic::Config::Method.new update_tenant_config
703
- delete_tenant_config = parent_rpcs&.delete_tenant if parent_rpcs&.respond_to? :delete_tenant
700
+ delete_tenant_config = parent_rpcs.delete_tenant if parent_rpcs.respond_to? :delete_tenant
704
701
  @delete_tenant = ::Gapic::Config::Method.new delete_tenant_config
705
- list_tenants_config = parent_rpcs&.list_tenants if parent_rpcs&.respond_to? :list_tenants
702
+ list_tenants_config = parent_rpcs.list_tenants if parent_rpcs.respond_to? :list_tenants
706
703
  @list_tenants = ::Gapic::Config::Method.new list_tenants_config
707
704
 
708
705
  yield self if block_given?
@@ -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.4.2"
25
25
  end
26
26
  end
27
27
  end
@@ -54,6 +54,18 @@ module Google
54
54
  # This indicates that the field may be set once in a request to create a
55
55
  # resource, but may not be changed thereafter.
56
56
  IMMUTABLE = 5
57
+
58
+ # Denotes that a (repeated) field is an unordered list.
59
+ # This indicates that the service may provide the elements of the list
60
+ # in any arbitrary order, rather than the order the user originally
61
+ # provided. Additionally, the list's order may or may not be stable.
62
+ UNORDERED_LIST = 6
63
+
64
+ # Denotes that this field returns a non-empty default value if not set.
65
+ # This indicates that if the user provides the empty value in a request,
66
+ # a non-empty value will be returned. The user will not be aware of what
67
+ # non-empty value to expect.
68
+ NON_EMPTY_DEFAULT = 7
57
69
  end
58
70
  end
59
71
  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
@@ -25,7 +25,7 @@ module Google
25
25
  # @return [::String]
26
26
  # The server-assigned name, which is only unique within the same service that
27
27
  # originally returns it. If you use the default HTTP mapping, the
28
- # `name` should have the format of `operations/some/unique/name`.
28
+ # `name` should be a resource name ending with `operations/{unique_id}`.
29
29
  # @!attribute [rw] metadata
30
30
  # @return [::Google::Protobuf::Any]
31
31
  # Service-specific metadata associated with the operation. It typically
@@ -35,7 +35,7 @@ module Google
35
35
  # @!attribute [rw] done
36
36
  # @return [::Boolean]
37
37
  # If the value is `false`, it means the operation is still in progress.
38
- # If true, the operation is completed, and either `error` or `response` is
38
+ # If `true`, the operation is completed, and either `error` or `response` is
39
39
  # available.
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
@@ -67,7 +67,7 @@ module Google
67
67
  # The request message for Operations.ListOperations.
68
68
  # @!attribute [rw] name
69
69
  # @return [::String]
70
- # The name of the operation collection.
70
+ # The name of the operation's parent resource.
71
71
  # @!attribute [rw] filter
72
72
  # @return [::String]
73
73
  # The standard list filter.
@@ -112,6 +112,20 @@ module Google
112
112
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
113
  end
114
114
 
115
+ # The request message for Operations.WaitOperation.
116
+ # @!attribute [rw] name
117
+ # @return [::String]
118
+ # The name of the operation resource to wait on.
119
+ # @!attribute [rw] timeout
120
+ # @return [::Google::Protobuf::Duration]
121
+ # The maximum duration to wait before timing out. If left blank, the wait
122
+ # will be at most the time permitted by the underlying HTTP/RPC protocol.
123
+ # If RPC context deadline is also specified, the shorter one will be used.
124
+ class WaitOperationRequest
125
+ include ::Google::Protobuf::MessageExts
126
+ extend ::Google::Protobuf::MessageExts::ClassMethods
127
+ end
128
+
115
129
  # A message representing the message types used by a long-running operation.
116
130
  #
117
131
  # Example:
@@ -57,10 +57,13 @@ module Google
57
57
  # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
- # any, err := ptypes.MarshalAny(foo)
60
+ # any, err := anypb.New(foo)
61
+ # if err != nil {
62
+ # ...
63
+ # }
61
64
  # ...
62
65
  # foo := &pb.Foo{}
63
- # if err := ptypes.UnmarshalAny(any, foo); err != nil {
66
+ # if err := any.UnmarshalTo(foo); err != nil {
64
67
  # ...
65
68
  # }
66
69
  #
@@ -70,7 +70,16 @@ module Google
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
72
  #
73
- # Example 5: Compute Timestamp from current time in Python.
73
+ # Example 5: Compute Timestamp from Java `Instant.now()`.
74
+ #
75
+ # Instant now = Instant.now();
76
+ #
77
+ # Timestamp timestamp =
78
+ # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
+ # .setNanos(now.getNano()).build();
80
+ #
81
+ #
82
+ # Example 6: Compute Timestamp from current time in Python.
74
83
  #
75
84
  # timestamp = Timestamp()
76
85
  # timestamp.GetCurrentTime()
@@ -19,28 +19,31 @@
19
19
 
20
20
  module Google
21
21
  module Type
22
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
23
- # and time zone are either specified elsewhere or are not significant. The date
24
- # is relative to the Proleptic Gregorian Calendar. This can represent:
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:
25
26
  #
26
- # * A full date, with non-zero year, month and day values
27
- # * A month and day value, with a zero year, e.g. an anniversary
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
28
29
  # * A year on its own, with zero month and day values
29
- # * A year and month value, with a zero day, e.g. a credit card expiration date
30
+ # * A year and month value, with a zero day, such as a credit card expiration
31
+ # date
30
32
  #
31
- # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and `google.protobuf.Timestamp`.
33
+ # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
34
+ # `google.protobuf.Timestamp`.
32
35
  # @!attribute [rw] year
33
36
  # @return [::Integer]
34
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
37
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without
35
38
  # a year.
36
39
  # @!attribute [rw] month
37
40
  # @return [::Integer]
38
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a
41
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a
39
42
  # month and day.
40
43
  # @!attribute [rw] day
41
44
  # @return [::Integer]
42
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
43
- # if specifying a year by itself or a year and month where the day is not
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
44
47
  # significant.
45
48
  class Date
46
49
  include ::Google::Protobuf::MessageExts
@@ -19,8 +19,8 @@
19
19
 
20
20
  module Google
21
21
  module Type
22
- # An object representing a latitude/longitude pair. This is expressed as a pair
23
- # of doubles representing degrees latitude and degrees longitude. Unless
22
+ # An object that represents a latitude/longitude pair. This is expressed as a
23
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
24
24
  # specified otherwise, this must conform to the
25
25
  # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
26
26
  # standard</a>. Values must be within normalized ranges.
@@ -22,7 +22,7 @@ module Google
22
22
  # Represents an amount of money with its currency type.
23
23
  # @!attribute [rw] currency_code
24
24
  # @return [::String]
25
- # The 3-letter currency code defined in ISO 4217.
25
+ # The three-letter currency code defined in ISO 4217.
26
26
  # @!attribute [rw] units
27
27
  # @return [::Integer]
28
28
  # The whole units of the amount.
@@ -21,7 +21,8 @@ module Google
21
21
  module Type
22
22
  # Represents a time of day. The date and time zone are either not significant
23
23
  # or are specified elsewhere. An API may choose to allow leap seconds. Related
24
- # types are {::Google::Type::Date google.type.Date} and `google.protobuf.Timestamp`.
24
+ # types are {::Google::Type::Date google.type.Date} and
25
+ # `google.protobuf.Timestamp`.
25
26
  # @!attribute [rw] hours
26
27
  # @return [::Integer]
27
28
  # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose