google-api-client 0.21.2 → 0.22.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 (85) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1 -1
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +181 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +59 -0
  8. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  9. data/generated/google/apis/androidpublisher_v3/service.rb +42 -0
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +31 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +16 -0
  13. data/generated/google/apis/bigquery_v2/service.rb +6 -3
  14. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  15. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -5
  16. data/generated/google/apis/cloudiot_v1.rb +1 -1
  17. data/generated/google/apis/cloudiot_v1/service.rb +0 -56
  18. data/generated/google/apis/cloudkms_v1.rb +1 -1
  19. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  20. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  21. data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -0
  22. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  23. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -0
  24. data/generated/google/apis/container_v1beta1.rb +1 -1
  25. data/generated/google/apis/container_v1beta1/classes.rb +33 -0
  26. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  27. data/generated/google/apis/content_v2.rb +1 -1
  28. data/generated/google/apis/content_v2/classes.rb +2 -2
  29. data/generated/google/apis/content_v2sandbox.rb +1 -1
  30. data/generated/google/apis/content_v2sandbox/classes.rb +2 -2
  31. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  32. data/generated/google/apis/dataproc_v1beta2/classes.rb +146 -0
  33. data/generated/google/apis/dataproc_v1beta2/representations.rb +62 -0
  34. data/generated/google/apis/dlp_v2.rb +1 -1
  35. data/generated/google/apis/dlp_v2/classes.rb +19 -9
  36. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  37. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +6 -0
  38. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  39. data/generated/google/apis/ml_v1.rb +1 -1
  40. data/generated/google/apis/ml_v1/classes.rb +27 -15
  41. data/generated/google/apis/monitoring_v3.rb +1 -1
  42. data/generated/google/apis/monitoring_v3/classes.rb +48 -0
  43. data/generated/google/apis/monitoring_v3/representations.rb +17 -0
  44. data/generated/google/apis/people_v1.rb +1 -1
  45. data/generated/google/apis/people_v1/classes.rb +76 -28
  46. data/generated/google/apis/people_v1/representations.rb +19 -0
  47. data/generated/google/apis/people_v1/service.rb +4 -0
  48. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  49. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +2 -1
  50. data/generated/google/apis/pubsub_v1.rb +1 -1
  51. data/generated/google/apis/pubsub_v1/classes.rb +45 -12
  52. data/generated/google/apis/pubsub_v1/service.rb +41 -20
  53. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  54. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +8 -0
  55. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +1 -0
  56. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  57. data/generated/google/apis/servicebroker_v1beta1/classes.rb +41 -0
  58. data/generated/google/apis/servicebroker_v1beta1/representations.rb +5 -0
  59. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  60. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -27
  61. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -15
  62. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  63. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -27
  64. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -15
  65. data/generated/google/apis/sheets_v4.rb +1 -1
  66. data/generated/google/apis/sheets_v4/classes.rb +41 -41
  67. data/generated/google/apis/slides_v1.rb +1 -1
  68. data/generated/google/apis/slides_v1/classes.rb +4 -2
  69. data/generated/google/apis/storage_v1.rb +1 -1
  70. data/generated/google/apis/storage_v1/classes.rb +44 -38
  71. data/generated/google/apis/storage_v1/service.rb +10 -2
  72. data/generated/google/apis/testing_v1.rb +1 -1
  73. data/generated/google/apis/testing_v1/classes.rb +26 -0
  74. data/generated/google/apis/testing_v1/representations.rb +15 -0
  75. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  76. data/lib/google/apis/version.rb +1 -1
  77. metadata +2 -10
  78. data/generated/google/apis/resourceviews_v1beta1.rb +0 -50
  79. data/generated/google/apis/resourceviews_v1beta1/classes.rb +0 -338
  80. data/generated/google/apis/resourceviews_v1beta1/representations.rb +0 -201
  81. data/generated/google/apis/resourceviews_v1beta1/service.rb +0 -637
  82. data/generated/google/apis/resourceviews_v1beta2.rb +0 -50
  83. data/generated/google/apis/resourceviews_v1beta2/classes.rb +0 -660
  84. data/generated/google/apis/resourceviews_v1beta2/representations.rb +0 -301
  85. data/generated/google/apis/resourceviews_v1beta2/service.rb +0 -540
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://firebase.google.com/docs/dynamic-links/
26
26
  module FirebasedynamiclinksV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180502'
28
+ REVISION = '20180521'
29
29
 
30
30
  # View and administer all your Firebase data and settings
31
31
  AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
@@ -594,6 +594,11 @@ module Google
594
594
  # @return [String]
595
595
  attr_accessor :match_message
596
596
 
597
+ # Which IP version the request was made from.
598
+ # Corresponds to the JSON property `requestIpVersion`
599
+ # @return [String]
600
+ attr_accessor :request_ip_version
601
+
597
602
  # Entire FDL (short or long) attributed post-install via one of several
598
603
  # techniques (fingerprint, copy unique).
599
604
  # Corresponds to the JSON property `requestedLink`
@@ -638,6 +643,7 @@ module Google
638
643
  @invitation_id = args[:invitation_id] if args.key?(:invitation_id)
639
644
  @is_strong_match_executable = args[:is_strong_match_executable] if args.key?(:is_strong_match_executable)
640
645
  @match_message = args[:match_message] if args.key?(:match_message)
646
+ @request_ip_version = args[:request_ip_version] if args.key?(:request_ip_version)
641
647
  @requested_link = args[:requested_link] if args.key?(:requested_link)
642
648
  @resolved_link = args[:resolved_link] if args.key?(:resolved_link)
643
649
  @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
@@ -305,6 +305,7 @@ module Google
305
305
  property :invitation_id, as: 'invitationId'
306
306
  property :is_strong_match_executable, as: 'isStrongMatchExecutable'
307
307
  property :match_message, as: 'matchMessage'
308
+ property :request_ip_version, as: 'requestIpVersion'
308
309
  property :requested_link, as: 'requestedLink'
309
310
  property :resolved_link, as: 'resolvedLink'
310
311
  property :utm_campaign, as: 'utmCampaign'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180507'
28
+ REVISION = '20180521'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -112,8 +112,8 @@ module Google
112
112
  include Google::Apis::Core::Hashable
113
113
 
114
114
  # Optional. The minimum number of nodes to allocate for this model. These
115
- # nodes are always up, starting from the time the model is deployed, so the
116
- # cost of operating this model will be at least
115
+ # nodes are always up, starting from the time the model is deployed.
116
+ # Therefore, the cost of operating this model will be at least
117
117
  # `rate` * `min_nodes` * number of hours since last billing cycle,
118
118
  # where `rate` is the cost per node-hour as documented in the
119
119
  # [pricing guide](/ml-engine/docs/pricing),
@@ -127,6 +127,21 @@ module Google
127
127
  # If not specified, `min_nodes` defaults to 0, in which case, when traffic
128
128
  # to a model stops (and after a cool-down period), nodes will be shut down
129
129
  # and no charges will be incurred until traffic to the model resumes.
130
+ # You can set `min_nodes` when creating the model version, and you can also
131
+ # update `min_nodes` for an existing version:
132
+ # <pre>
133
+ # update_body.json:
134
+ # `
135
+ # 'autoScaling': `
136
+ # 'minNodes': 5
137
+ # `
138
+ # `
139
+ # </pre>
140
+ # HTTP request:
141
+ # <pre>
142
+ # PATCH https://ml.googleapis.com/v1/`name=projects/*/models/*/versions/*`?
143
+ # update_mask=autoScaling.minNodes -d @./update_body.json
144
+ # </pre>
130
145
  # Corresponds to the JSON property `minNodes`
131
146
  # @return [Fixnum]
132
147
  attr_accessor :min_nodes
@@ -1039,46 +1054,43 @@ module Google
1039
1054
  # <dt>complex_model_m</dt>
1040
1055
  # <dd>
1041
1056
  # A machine with roughly twice the number of cores and roughly double the
1042
- # memory of <code suppresswarning="true">complex_model_s</code>.
1057
+ # memory of <i>complex_model_s</i>.
1043
1058
  # </dd>
1044
1059
  # <dt>complex_model_l</dt>
1045
1060
  # <dd>
1046
1061
  # A machine with roughly twice the number of cores and roughly double the
1047
- # memory of <code suppresswarning="true">complex_model_m</code>.
1062
+ # memory of <i>complex_model_m</i>.
1048
1063
  # </dd>
1049
1064
  # <dt>standard_gpu</dt>
1050
1065
  # <dd>
1051
- # A machine equivalent to <code suppresswarning="true">standard</code> that
1066
+ # A machine equivalent to <i>standard</i> that
1052
1067
  # also includes a single NVIDIA Tesla K80 GPU. See more about
1053
1068
  # <a href="/ml-engine/docs/tensorflow/using-gpus">using GPUs to
1054
1069
  # train your model</a>.
1055
1070
  # </dd>
1056
1071
  # <dt>complex_model_m_gpu</dt>
1057
1072
  # <dd>
1058
- # A machine equivalent to
1059
- # <code suppresswarning="true">complex_model_m</code> that also includes
1073
+ # A machine equivalent to <i>complex_model_m</i> that also includes
1060
1074
  # four NVIDIA Tesla K80 GPUs.
1061
1075
  # </dd>
1062
1076
  # <dt>complex_model_l_gpu</dt>
1063
1077
  # <dd>
1064
- # A machine equivalent to
1065
- # <code suppresswarning="true">complex_model_l</code> that also includes
1078
+ # A machine equivalent to <i>complex_model_l</i> that also includes
1066
1079
  # eight NVIDIA Tesla K80 GPUs.
1067
1080
  # </dd>
1068
1081
  # <dt>standard_p100</dt>
1069
1082
  # <dd>
1070
- # A machine equivalent to <code suppresswarning="true">standard</code> that
1083
+ # A machine equivalent to <i>standard</i> that
1071
1084
  # also includes a single NVIDIA Tesla P100 GPU. The availability of these
1072
- # GPUs is in the Beta launch stage.
1085
+ # GPUs is in the <i>Beta</i> launch stage.
1073
1086
  # </dd>
1074
1087
  # <dt>complex_model_m_p100</dt>
1075
1088
  # <dd>
1076
- # A machine equivalent to
1077
- # <code suppresswarning="true">complex_model_m</code> that also includes
1089
+ # A machine equivalent to <i>complex_model_m</i> that also includes
1078
1090
  # four NVIDIA Tesla P100 GPUs. The availability of these GPUs is in
1079
- # the Beta launch stage.
1091
+ # the <i>Beta</i> launch stage.
1080
1092
  # </dd>
1081
- # <dt>standard_tpu</dt>
1093
+ # <dt>cloud_tpu</dt>
1082
1094
  # <dd>
1083
1095
  # A TPU VM including one Cloud TPU. The availability of Cloud TPU is in
1084
1096
  # <i>Beta</i> launch stage. See more about
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/monitoring/api/
28
28
  module MonitoringV3
29
29
  VERSION = 'V3'
30
- REVISION = '20180514'
30
+ REVISION = '20180521'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -711,6 +711,12 @@ module Google
711
711
  # @return [Fixnum]
712
712
  attr_accessor :count
713
713
 
714
+ # Must be in increasing order of |value| field. The current requirement enforced
715
+ # by the backend is that at most one Exemplar will fall into any bucket.
716
+ # Corresponds to the JSON property `exemplars`
717
+ # @return [Array<Google::Apis::MonitoringV3::Exemplar>]
718
+ attr_accessor :exemplars
719
+
714
720
  # The arithmetic mean of the values in the population. If count is zero then
715
721
  # this field must be zero.
716
722
  # Corresponds to the JSON property `mean`
@@ -741,6 +747,7 @@ module Google
741
747
  @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
742
748
  @bucket_options = args[:bucket_options] if args.key?(:bucket_options)
743
749
  @count = args[:count] if args.key?(:count)
750
+ @exemplars = args[:exemplars] if args.key?(:exemplars)
744
751
  @mean = args[:mean] if args.key?(:mean)
745
752
  @range = args[:range] if args.key?(:range)
746
753
  @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
@@ -795,6 +802,47 @@ module Google
795
802
  end
796
803
  end
797
804
 
805
+ # Exemplars are example points that may be used to annotate aggregated
806
+ # distribution values. They are metadata that gives information about a
807
+ # particular value added to a Distribution bucket, such as a trace ID that was
808
+ # active when a value was added. They may contain further information, such as a
809
+ # example values and timestamps, origin, etc.
810
+ class Exemplar
811
+ include Google::Apis::Core::Hashable
812
+
813
+ # Contextual information about the example value. Examples are:Trace ID: type.
814
+ # googleapis.com/google.devtools.cloudtrace.v1.TraceLiteral string: type.
815
+ # googleapis.com/google.protobuf.StringValueLabels dropped during aggregation:
816
+ # type.googleapis.com/google.monitoring.v3.DroppedLabelsThere may be only a
817
+ # single attachment of any given message type in a single exemplar, and this is
818
+ # enforced by the system.
819
+ # Corresponds to the JSON property `attachments`
820
+ # @return [Array<Hash<String,Object>>]
821
+ attr_accessor :attachments
822
+
823
+ # The observation (sampling) time of the above value.
824
+ # Corresponds to the JSON property `timestamp`
825
+ # @return [String]
826
+ attr_accessor :timestamp
827
+
828
+ # Value of the exemplar point. This value determines to which bucket the
829
+ # exemplar belongs.
830
+ # Corresponds to the JSON property `value`
831
+ # @return [Float]
832
+ attr_accessor :value
833
+
834
+ def initialize(**args)
835
+ update!(**args)
836
+ end
837
+
838
+ # Update properties of this object
839
+ def update!(**args)
840
+ @attachments = args[:attachments] if args.key?(:attachments)
841
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
842
+ @value = args[:value] if args.key?(:value)
843
+ end
844
+ end
845
+
798
846
  # Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (=
799
847
  # N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1):
800
848
  # boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class Exemplar
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class Explicit
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -543,6 +549,8 @@ module Google
543
549
  property :bucket_options, as: 'bucketOptions', class: Google::Apis::MonitoringV3::BucketOptions, decorator: Google::Apis::MonitoringV3::BucketOptions::Representation
544
550
 
545
551
  property :count, :numeric_string => true, as: 'count'
552
+ collection :exemplars, as: 'exemplars', class: Google::Apis::MonitoringV3::Exemplar, decorator: Google::Apis::MonitoringV3::Exemplar::Representation
553
+
546
554
  property :mean, as: 'mean'
547
555
  property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation
548
556
 
@@ -564,6 +572,15 @@ module Google
564
572
  end
565
573
  end
566
574
 
575
+ class Exemplar
576
+ # @private
577
+ class Representation < Google::Apis::Core::JsonRepresentation
578
+ collection :attachments, as: 'attachments'
579
+ property :timestamp, as: 'timestamp'
580
+ property :value, as: 'value'
581
+ end
582
+ end
583
+
567
584
  class Explicit
568
585
  # @private
569
586
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/people/
26
26
  module PeopleV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180512'
28
+ REVISION = '20180521'
29
29
 
30
30
  # Manage your contacts
31
31
  AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
@@ -85,8 +85,8 @@ module Google
85
85
  # @return [String]
86
86
  attr_accessor :street_address
87
87
 
88
- # The type of the address. The type can be custom or predefined.
89
- # Possible values include, but are not limited to, the following:
88
+ # The type of the address. The type can be custom or one of these predefined
89
+ # values:
90
90
  # * `home`
91
91
  # * `work`
92
92
  # * `other`
@@ -330,8 +330,7 @@ module Google
330
330
  include Google::Apis::Core::Hashable
331
331
 
332
332
  # The contact group ID for the contact group membership. The contact group
333
- # ID can be custom or predefined. Possible values include, but are not
334
- # limited to, the following:
333
+ # ID can be custom or one of these predefined values:
335
334
  # * `myContacts`
336
335
  # * `starred`
337
336
  # * A numerical ID for user-created groups.
@@ -580,8 +579,8 @@ module Google
580
579
  # @return [Google::Apis::PeopleV1::FieldMetadata]
581
580
  attr_accessor :metadata
582
581
 
583
- # The type of the email address. The type can be custom or predefined.
584
- # Possible values include, but are not limited to, the following:
582
+ # The type of the email address. The type can be custom or one of these
583
+ # predefined values:
585
584
  # * `home`
586
585
  # * `work`
587
586
  # * `other`
@@ -654,8 +653,8 @@ module Google
654
653
  # @return [Google::Apis::PeopleV1::FieldMetadata]
655
654
  attr_accessor :metadata
656
655
 
657
- # The type of the event. The type can be custom or predefined.
658
- # Possible values include, but are not limited to, the following:
656
+ # The type of the event. The type can be custom or one of these predefined
657
+ # values:
659
658
  # * `anniversary`
660
659
  # * `other`
661
660
  # Corresponds to the JSON property `type`
@@ -726,9 +725,8 @@ module Google
726
725
  # @return [Google::Apis::PeopleV1::FieldMetadata]
727
726
  attr_accessor :metadata
728
727
 
729
- # The gender for the person. The gender can be custom or predefined.
730
- # Possible values include, but are not limited to, the
731
- # following:
728
+ # The gender for the person. The gender can be custom or one of these
729
+ # predefined values:
732
730
  # * `male`
733
731
  # * `female`
734
732
  # * `other`
@@ -789,8 +787,8 @@ module Google
789
787
  # @return [Google::Apis::PeopleV1::FieldMetadata]
790
788
  attr_accessor :metadata
791
789
 
792
- # The protocol of the IM client. The protocol can be custom or predefined.
793
- # Possible values include, but are not limited to, the following:
790
+ # The protocol of the IM client. The protocol can be custom or one of these
791
+ # predefined values:
794
792
  # * `aim`
795
793
  # * `msn`
796
794
  # * `yahoo`
@@ -804,8 +802,8 @@ module Google
804
802
  # @return [String]
805
803
  attr_accessor :protocol
806
804
 
807
- # The type of the IM client. The type can be custom or predefined.
808
- # Possible values include, but are not limited to, the following:
805
+ # The type of the IM client. The type can be custom or one of these
806
+ # predefined values:
809
807
  # * `home`
810
808
  # * `work`
811
809
  # * `other`
@@ -1289,8 +1287,8 @@ module Google
1289
1287
  # @return [String]
1290
1288
  attr_accessor :title
1291
1289
 
1292
- # The type of the organization. The type can be custom or predefined.
1293
- # Possible values include, but are not limited to, the following:
1290
+ # The type of the organization. The type can be custom or one of these
1291
+ # predefined values:
1294
1292
  # * `work`
1295
1293
  # * `school`
1296
1294
  # Corresponds to the JSON property `type`
@@ -1467,6 +1465,11 @@ module Google
1467
1465
  # @return [String]
1468
1466
  attr_accessor :resource_name
1469
1467
 
1468
+ # The person's SIP addresses.
1469
+ # Corresponds to the JSON property `sipAddresses`
1470
+ # @return [Array<Google::Apis::PeopleV1::SipAddress>]
1471
+ attr_accessor :sip_addresses
1472
+
1470
1473
  # The person's skills.
1471
1474
  # Corresponds to the JSON property `skills`
1472
1475
  # @return [Array<Google::Apis::PeopleV1::Skill>]
@@ -1520,6 +1523,7 @@ module Google
1520
1523
  @relationship_statuses = args[:relationship_statuses] if args.key?(:relationship_statuses)
1521
1524
  @residences = args[:residences] if args.key?(:residences)
1522
1525
  @resource_name = args[:resource_name] if args.key?(:resource_name)
1526
+ @sip_addresses = args[:sip_addresses] if args.key?(:sip_addresses)
1523
1527
  @skills = args[:skills] if args.key?(:skills)
1524
1528
  @taglines = args[:taglines] if args.key?(:taglines)
1525
1529
  @urls = args[:urls] if args.key?(:urls)
@@ -1687,8 +1691,8 @@ module Google
1687
1691
  # @return [Google::Apis::PeopleV1::FieldMetadata]
1688
1692
  attr_accessor :metadata
1689
1693
 
1690
- # The type of the phone number. The type can be custom or predefined.
1691
- # Possible values include, but are not limited to, the following:
1694
+ # The type of the phone number. The type can be custom or one of these
1695
+ # predefined values:
1692
1696
  # * `home`
1693
1697
  # * `work`
1694
1698
  # * `mobile`
@@ -1806,9 +1810,8 @@ module Google
1806
1810
  # @return [String]
1807
1811
  attr_accessor :person
1808
1812
 
1809
- # The person's relation to the other person. The type can be custom or
1810
- # predefined.
1811
- # Possible values include, but are not limited to, the following values:
1813
+ # The person's relation to the other person. The type can be custom or one of
1814
+ # these predefined values:
1812
1815
  # * `spouse`
1813
1816
  # * `child`
1814
1817
  # * `mother`
@@ -1857,8 +1860,7 @@ module Google
1857
1860
  attr_accessor :metadata
1858
1861
 
1859
1862
  # The kind of relationship the person is looking for. The value can be custom
1860
- # or predefined. Possible values include, but are not limited to, the
1861
- # following values:
1863
+ # or one of these predefined values:
1862
1864
  # * `friend`
1863
1865
  # * `date`
1864
1866
  # * `relationship`
@@ -1894,8 +1896,8 @@ module Google
1894
1896
  # @return [Google::Apis::PeopleV1::FieldMetadata]
1895
1897
  attr_accessor :metadata
1896
1898
 
1897
- # The relationship status. The value can be custom or predefined.
1898
- # Possible values include, but are not limited to, the following:
1899
+ # The relationship status. The value can be custom or one of these
1900
+ # predefined values:
1899
1901
  # * `single`
1900
1902
  # * `inARelationship`
1901
1903
  # * `engaged`
@@ -1954,6 +1956,52 @@ module Google
1954
1956
  end
1955
1957
  end
1956
1958
 
1959
+ # A person's SIP address. Session Initial Protocol addresses are used for VoIP
1960
+ # communications to make voice or video calls over the internet.
1961
+ class SipAddress
1962
+ include Google::Apis::Core::Hashable
1963
+
1964
+ # The read-only type of the SIP address translated and formatted in the
1965
+ # viewer's account locale or the `Accept-Language` HTTP header locale.
1966
+ # Corresponds to the JSON property `formattedType`
1967
+ # @return [String]
1968
+ attr_accessor :formatted_type
1969
+
1970
+ # Metadata about a field.
1971
+ # Corresponds to the JSON property `metadata`
1972
+ # @return [Google::Apis::PeopleV1::FieldMetadata]
1973
+ attr_accessor :metadata
1974
+
1975
+ # The type of the SIP address. The type can be custom or or one of these
1976
+ # predefined values:
1977
+ # * `home`
1978
+ # * `work`
1979
+ # * `mobile`
1980
+ # * `other`
1981
+ # Corresponds to the JSON property `type`
1982
+ # @return [String]
1983
+ attr_accessor :type
1984
+
1985
+ # The SIP address in the
1986
+ # [RFC 3261 19.1](https://tools.ietf.org/html/rfc3261#section-19.1) SIP URI
1987
+ # format.
1988
+ # Corresponds to the JSON property `value`
1989
+ # @return [String]
1990
+ attr_accessor :value
1991
+
1992
+ def initialize(**args)
1993
+ update!(**args)
1994
+ end
1995
+
1996
+ # Update properties of this object
1997
+ def update!(**args)
1998
+ @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
1999
+ @metadata = args[:metadata] if args.key?(:metadata)
2000
+ @type = args[:type] if args.key?(:type)
2001
+ @value = args[:value] if args.key?(:value)
2002
+ end
2003
+ end
2004
+
1957
2005
  # A skill that the person has.
1958
2006
  class Skill
1959
2007
  include Google::Apis::Core::Hashable
@@ -2157,8 +2205,8 @@ module Google
2157
2205
  # @return [Google::Apis::PeopleV1::FieldMetadata]
2158
2206
  attr_accessor :metadata
2159
2207
 
2160
- # The type of the URL. The type can be custom or predefined.
2161
- # Possible values include, but are not limited to, the following:
2208
+ # The type of the URL. The type can be custom or one of these predefined
2209
+ # values:
2162
2210
  # * `home`
2163
2211
  # * `work`
2164
2212
  # * `blog`