google-api-client 0.42.1 → 0.42.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +76 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +3 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +6 -12
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +18 -5
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +19 -0
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +39 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → cloudasset_v1p5beta1.rb} +9 -9
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +14 -10
- data/generated/google/apis/customsearch_v1/service.rb +6 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +380 -569
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +148 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2/service.rb +4 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +164 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -0
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1666 -1726
- data/generated/google/apis/displayvideo_v1/representations.rb +264 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1173 -926
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +2 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +243 -397
- data/generated/google/apis/people_v1/service.rb +156 -384
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +0 -73
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +0 -477
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +195 -245
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +0 -73
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +0 -477
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +511 -651
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +6 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -32
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +0 -346
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/
|
27
27
|
module OsconfigV1beta
|
28
28
|
VERSION = 'V1beta'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200714'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -503,6 +503,12 @@ module Google
|
|
503
503
|
# @return [Google::Apis::OsconfigV1beta::PatchConfig]
|
504
504
|
attr_accessor :patch_config
|
505
505
|
|
506
|
+
# Patch rollout configuration specifications. Contains details on the
|
507
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
508
|
+
# Corresponds to the JSON property `rollout`
|
509
|
+
# @return [Google::Apis::OsconfigV1beta::PatchRollout]
|
510
|
+
attr_accessor :rollout
|
511
|
+
|
506
512
|
def initialize(**args)
|
507
513
|
update!(**args)
|
508
514
|
end
|
@@ -515,6 +521,34 @@ module Google
|
|
515
521
|
@duration = args[:duration] if args.key?(:duration)
|
516
522
|
@instance_filter = args[:instance_filter] if args.key?(:instance_filter)
|
517
523
|
@patch_config = args[:patch_config] if args.key?(:patch_config)
|
524
|
+
@rollout = args[:rollout] if args.key?(:rollout)
|
525
|
+
end
|
526
|
+
end
|
527
|
+
|
528
|
+
# Message encapsulating a value that can be either absolute ("fixed") or
|
529
|
+
# relative ("percent") to a value.
|
530
|
+
class FixedOrPercent
|
531
|
+
include Google::Apis::Core::Hashable
|
532
|
+
|
533
|
+
# Specifies a fixed value.
|
534
|
+
# Corresponds to the JSON property `fixed`
|
535
|
+
# @return [Fixnum]
|
536
|
+
attr_accessor :fixed
|
537
|
+
|
538
|
+
# Specifies the relative value defined as a percentage, which will be
|
539
|
+
# multiplied by a reference value.
|
540
|
+
# Corresponds to the JSON property `percent`
|
541
|
+
# @return [Fixnum]
|
542
|
+
attr_accessor :percent
|
543
|
+
|
544
|
+
def initialize(**args)
|
545
|
+
update!(**args)
|
546
|
+
end
|
547
|
+
|
548
|
+
# Update properties of this object
|
549
|
+
def update!(**args)
|
550
|
+
@fixed = args[:fixed] if args.key?(:fixed)
|
551
|
+
@percent = args[:percent] if args.key?(:percent)
|
518
552
|
end
|
519
553
|
end
|
520
554
|
|
@@ -1095,6 +1129,12 @@ module Google
|
|
1095
1129
|
# @return [Google::Apis::OsconfigV1beta::RecurringSchedule]
|
1096
1130
|
attr_accessor :recurring_schedule
|
1097
1131
|
|
1132
|
+
# Patch rollout configuration specifications. Contains details on the
|
1133
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
1134
|
+
# Corresponds to the JSON property `rollout`
|
1135
|
+
# @return [Google::Apis::OsconfigV1beta::PatchRollout]
|
1136
|
+
attr_accessor :rollout
|
1137
|
+
|
1098
1138
|
# Output only. Time the patch deployment was last updated. Timestamp is in
|
1099
1139
|
# [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
1100
1140
|
# Corresponds to the JSON property `updateTime`
|
@@ -1116,6 +1156,7 @@ module Google
|
|
1116
1156
|
@one_time_schedule = args[:one_time_schedule] if args.key?(:one_time_schedule)
|
1117
1157
|
@patch_config = args[:patch_config] if args.key?(:patch_config)
|
1118
1158
|
@recurring_schedule = args[:recurring_schedule] if args.key?(:recurring_schedule)
|
1159
|
+
@rollout = args[:rollout] if args.key?(:rollout)
|
1119
1160
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1120
1161
|
end
|
1121
1162
|
end
|
@@ -1282,6 +1323,12 @@ module Google
|
|
1282
1323
|
# @return [Float]
|
1283
1324
|
attr_accessor :percent_complete
|
1284
1325
|
|
1326
|
+
# Patch rollout configuration specifications. Contains details on the
|
1327
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
1328
|
+
# Corresponds to the JSON property `rollout`
|
1329
|
+
# @return [Google::Apis::OsconfigV1beta::PatchRollout]
|
1330
|
+
attr_accessor :rollout
|
1331
|
+
|
1285
1332
|
# The current state of the PatchJob.
|
1286
1333
|
# Corresponds to the JSON property `state`
|
1287
1334
|
# @return [String]
|
@@ -1310,6 +1357,7 @@ module Google
|
|
1310
1357
|
@patch_config = args[:patch_config] if args.key?(:patch_config)
|
1311
1358
|
@patch_deployment = args[:patch_deployment] if args.key?(:patch_deployment)
|
1312
1359
|
@percent_complete = args[:percent_complete] if args.key?(:percent_complete)
|
1360
|
+
@rollout = args[:rollout] if args.key?(:rollout)
|
1313
1361
|
@state = args[:state] if args.key?(:state)
|
1314
1362
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1315
1363
|
end
|
@@ -1471,6 +1519,33 @@ module Google
|
|
1471
1519
|
end
|
1472
1520
|
end
|
1473
1521
|
|
1522
|
+
# Patch rollout configuration specifications. Contains details on the
|
1523
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
1524
|
+
class PatchRollout
|
1525
|
+
include Google::Apis::Core::Hashable
|
1526
|
+
|
1527
|
+
# Message encapsulating a value that can be either absolute ("fixed") or
|
1528
|
+
# relative ("percent") to a value.
|
1529
|
+
# Corresponds to the JSON property `disruptionBudget`
|
1530
|
+
# @return [Google::Apis::OsconfigV1beta::FixedOrPercent]
|
1531
|
+
attr_accessor :disruption_budget
|
1532
|
+
|
1533
|
+
# Mode of the patch rollout.
|
1534
|
+
# Corresponds to the JSON property `mode`
|
1535
|
+
# @return [String]
|
1536
|
+
attr_accessor :mode
|
1537
|
+
|
1538
|
+
def initialize(**args)
|
1539
|
+
update!(**args)
|
1540
|
+
end
|
1541
|
+
|
1542
|
+
# Update properties of this object
|
1543
|
+
def update!(**args)
|
1544
|
+
@disruption_budget = args[:disruption_budget] if args.key?(:disruption_budget)
|
1545
|
+
@mode = args[:mode] if args.key?(:mode)
|
1546
|
+
end
|
1547
|
+
end
|
1548
|
+
|
1474
1549
|
# Sets the time for recurring patch deployments.
|
1475
1550
|
class RecurringSchedule
|
1476
1551
|
include Google::Apis::Core::Hashable
|
@@ -106,6 +106,12 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
+
class FixedOrPercent
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
109
115
|
class GcsObject
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
117
|
|
@@ -226,6 +232,12 @@ module Google
|
|
226
232
|
include Google::Apis::Core::JsonObjectSupport
|
227
233
|
end
|
228
234
|
|
235
|
+
class PatchRollout
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
229
241
|
class RecurringSchedule
|
230
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
243
|
|
@@ -490,6 +502,16 @@ module Google
|
|
490
502
|
|
491
503
|
property :patch_config, as: 'patchConfig', class: Google::Apis::OsconfigV1beta::PatchConfig, decorator: Google::Apis::OsconfigV1beta::PatchConfig::Representation
|
492
504
|
|
505
|
+
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation
|
506
|
+
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
class FixedOrPercent
|
511
|
+
# @private
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
513
|
+
property :fixed, as: 'fixed'
|
514
|
+
property :percent, as: 'percent'
|
493
515
|
end
|
494
516
|
end
|
495
517
|
|
@@ -656,6 +678,8 @@ module Google
|
|
656
678
|
|
657
679
|
property :recurring_schedule, as: 'recurringSchedule', class: Google::Apis::OsconfigV1beta::RecurringSchedule, decorator: Google::Apis::OsconfigV1beta::RecurringSchedule::Representation
|
658
680
|
|
681
|
+
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation
|
682
|
+
|
659
683
|
property :update_time, as: 'updateTime'
|
660
684
|
end
|
661
685
|
end
|
@@ -697,6 +721,8 @@ module Google
|
|
697
721
|
|
698
722
|
property :patch_deployment, as: 'patchDeployment'
|
699
723
|
property :percent_complete, as: 'percentComplete'
|
724
|
+
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation
|
725
|
+
|
700
726
|
property :state, as: 'state'
|
701
727
|
property :update_time, as: 'updateTime'
|
702
728
|
end
|
@@ -734,6 +760,15 @@ module Google
|
|
734
760
|
end
|
735
761
|
end
|
736
762
|
|
763
|
+
class PatchRollout
|
764
|
+
# @private
|
765
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
766
|
+
property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::OsconfigV1beta::FixedOrPercent, decorator: Google::Apis::OsconfigV1beta::FixedOrPercent::Representation
|
767
|
+
|
768
|
+
property :mode, as: 'mode'
|
769
|
+
end
|
770
|
+
end
|
771
|
+
|
737
772
|
class RecurringSchedule
|
738
773
|
# @private
|
739
774
|
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 = '
|
28
|
+
REVISION = '20200720'
|
29
29
|
|
30
30
|
# See, edit, download, and permanently delete your contacts
|
31
31
|
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
@@ -54,8 +54,8 @@ module Google
|
|
54
54
|
# @return [String]
|
55
55
|
attr_accessor :formatted_type
|
56
56
|
|
57
|
-
# The unstructured value of the address. If this is not set by the user it
|
58
|
-
#
|
57
|
+
# The unstructured value of the address. If this is not set by the user it will
|
58
|
+
# be automatically constructed from structured values.
|
59
59
|
# Corresponds to the JSON property `formattedValue`
|
60
60
|
# @return [String]
|
61
61
|
attr_accessor :formatted_value
|
@@ -86,10 +86,7 @@ module Google
|
|
86
86
|
attr_accessor :street_address
|
87
87
|
|
88
88
|
# The type of the address. The type can be custom or one of these predefined
|
89
|
-
# values:
|
90
|
-
# * `home`
|
91
|
-
# * `work`
|
92
|
-
# * `other`
|
89
|
+
# values: * `home` * `work` * `other`
|
93
90
|
# Corresponds to the JSON property `type`
|
94
91
|
# @return [String]
|
95
92
|
attr_accessor :type
|
@@ -191,19 +188,19 @@ module Google
|
|
191
188
|
end
|
192
189
|
|
193
190
|
# A person's birthday. At least one of the `date` and `text` fields are
|
194
|
-
# specified. The `date` and `text` fields typically represent the same
|
195
|
-
#
|
191
|
+
# specified. The `date` and `text` fields typically represent the same date, but
|
192
|
+
# are not guaranteed to.
|
196
193
|
class Birthday
|
197
194
|
include Google::Apis::Core::Hashable
|
198
195
|
|
199
196
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
200
197
|
# and time zone are either specified elsewhere or are not significant. The date
|
201
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
202
|
-
#
|
203
|
-
# * A
|
204
|
-
# * A year
|
205
|
-
#
|
206
|
-
#
|
198
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
199
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
200
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
201
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
202
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
203
|
+
# Timestamp`.
|
207
204
|
# Corresponds to the JSON property `date`
|
208
205
|
# @return [Google::Apis::PeopleV1::Date]
|
209
206
|
attr_accessor :date
|
@@ -230,8 +227,7 @@ module Google
|
|
230
227
|
end
|
231
228
|
end
|
232
229
|
|
233
|
-
# **DEPRECATED**: No data will be returned
|
234
|
-
# A person's bragging rights.
|
230
|
+
# **DEPRECATED**: No data will be returned A person's bragging rights.
|
235
231
|
class BraggingRights
|
236
232
|
include Google::Apis::Core::Hashable
|
237
233
|
|
@@ -260,15 +256,15 @@ module Google
|
|
260
256
|
class ContactGroup
|
261
257
|
include Google::Apis::Core::Hashable
|
262
258
|
|
263
|
-
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the
|
264
|
-
#
|
259
|
+
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
260
|
+
# Used for web cache validation.
|
265
261
|
# Corresponds to the JSON property `etag`
|
266
262
|
# @return [String]
|
267
263
|
attr_accessor :etag
|
268
264
|
|
269
265
|
# Output only. The name translated and formatted in the viewer's account locale
|
270
|
-
# or the `Accept-Language` HTTP header locale for system groups names.
|
271
|
-
#
|
266
|
+
# or the `Accept-Language` HTTP header locale for system groups names. Group
|
267
|
+
# names set by the owner are the same as name.
|
272
268
|
# Corresponds to the JSON property `formattedName`
|
273
269
|
# @return [String]
|
274
270
|
attr_accessor :formatted_name
|
@@ -279,17 +275,15 @@ module Google
|
|
279
275
|
attr_accessor :group_type
|
280
276
|
|
281
277
|
# Output only. The total number of contacts in the group irrespective of max
|
282
|
-
# members in
|
283
|
-
# specified in the request.
|
278
|
+
# members in specified in the request.
|
284
279
|
# Corresponds to the JSON property `memberCount`
|
285
280
|
# @return [Fixnum]
|
286
281
|
attr_accessor :member_count
|
287
282
|
|
288
283
|
# Output only. The list of contact person resource names that are members of the
|
289
|
-
# contact
|
290
|
-
#
|
291
|
-
#
|
292
|
-
# [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
|
284
|
+
# contact group. The field is not populated for LIST requests and can only be
|
285
|
+
# updated through the [ModifyContactGroupMembers](/people/api/rest/v1/
|
286
|
+
# contactgroups/members/modify).
|
293
287
|
# Corresponds to the JSON property `memberResourceNames`
|
294
288
|
# @return [Array<String>]
|
295
289
|
attr_accessor :member_resource_names
|
@@ -299,8 +293,8 @@ module Google
|
|
299
293
|
# @return [Google::Apis::PeopleV1::ContactGroupMetadata]
|
300
294
|
attr_accessor :metadata
|
301
295
|
|
302
|
-
# The contact group name set by the group owner or a system provided name
|
303
|
-
#
|
296
|
+
# The contact group name set by the group owner or a system provided name for
|
297
|
+
# system groups.
|
304
298
|
# Corresponds to the JSON property `name`
|
305
299
|
# @return [String]
|
306
300
|
attr_accessor :name
|
@@ -338,11 +332,11 @@ module Google
|
|
338
332
|
attr_accessor :contact_group_id
|
339
333
|
|
340
334
|
# The resource name for the contact group, assigned by the server. An ASCII
|
341
|
-
# string, in the form of `contactGroups/`contact_group_id``.
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
335
|
+
# string, in the form of `contactGroups/`contact_group_id``. Only
|
336
|
+
# contact_group_resource_name can be used for modifying memberships. Any contact
|
337
|
+
# group membership can be removed, but only user group or "myContacts" or "
|
338
|
+
# starred" system groups memberships can be added. A contact must always have at
|
339
|
+
# least one contact group membership.
|
346
340
|
# Corresponds to the JSON property `contactGroupResourceName`
|
347
341
|
# @return [String]
|
348
342
|
attr_accessor :contact_group_resource_name
|
@@ -363,9 +357,8 @@ module Google
|
|
363
357
|
include Google::Apis::Core::Hashable
|
364
358
|
|
365
359
|
# Output only. True if the contact group resource has been deleted. Populated
|
366
|
-
# only for
|
367
|
-
#
|
368
|
-
# that include a sync token.
|
360
|
+
# only for [`ListContactGroups`](/people/api/rest/v1/contactgroups/list)
|
361
|
+
# requests that include a sync token.
|
369
362
|
# Corresponds to the JSON property `deleted`
|
370
363
|
# @return [Boolean]
|
371
364
|
attr_accessor :deleted
|
@@ -401,12 +394,12 @@ module Google
|
|
401
394
|
# @return [String]
|
402
395
|
attr_accessor :requested_resource_name
|
403
396
|
|
404
|
-
# The `Status` type defines a logical error model that is suitable for
|
405
|
-
#
|
406
|
-
#
|
407
|
-
#
|
408
|
-
#
|
409
|
-
#
|
397
|
+
# The `Status` type defines a logical error model that is suitable for different
|
398
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
399
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
400
|
+
# data: error code, error message, and error details. You can find out more
|
401
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
402
|
+
# //cloud.google.com/apis/design/errors).
|
410
403
|
# Corresponds to the JSON property `status`
|
411
404
|
# @return [Google::Apis::PeopleV1::Status]
|
412
405
|
attr_accessor :status
|
@@ -428,52 +421,25 @@ module Google
|
|
428
421
|
include Google::Apis::Core::Hashable
|
429
422
|
|
430
423
|
# Required. A field mask to restrict which fields are copied into the new
|
431
|
-
# contact.
|
432
|
-
# Valid values are:
|
433
|
-
# * emailAddresses
|
434
|
-
# * names
|
435
|
-
# * phoneNumbers
|
424
|
+
# contact. Valid values are: * emailAddresses * names * phoneNumbers
|
436
425
|
# Corresponds to the JSON property `copyMask`
|
437
426
|
# @return [String]
|
438
427
|
attr_accessor :copy_mask
|
439
428
|
|
440
429
|
# Optional. A field mask to restrict which fields on the person are returned.
|
441
|
-
# Multiple
|
442
|
-
#
|
443
|
-
#
|
444
|
-
# *
|
445
|
-
# *
|
446
|
-
# *
|
447
|
-
#
|
448
|
-
# * coverPhotos
|
449
|
-
# * emailAddresses
|
450
|
-
# * events
|
451
|
-
# * genders
|
452
|
-
# * imClients
|
453
|
-
# * interests
|
454
|
-
# * locales
|
455
|
-
# * memberships
|
456
|
-
# * metadata
|
457
|
-
# * names
|
458
|
-
# * nicknames
|
459
|
-
# * occupations
|
460
|
-
# * organizations
|
461
|
-
# * phoneNumbers
|
462
|
-
# * photos
|
463
|
-
# * relations
|
464
|
-
# * residences
|
465
|
-
# * sipAddresses
|
466
|
-
# * skills
|
467
|
-
# * urls
|
468
|
-
# * userDefined
|
430
|
+
# Multiple fields can be specified by separating them with commas. Defaults to
|
431
|
+
# the copy mask with metadata and membership fields if not set. Valid values are:
|
432
|
+
# * addresses * ageRanges * biographies * birthdays * coverPhotos *
|
433
|
+
# emailAddresses * events * genders * imClients * interests * locales *
|
434
|
+
# memberships * metadata * names * nicknames * occupations * organizations *
|
435
|
+
# phoneNumbers * photos * relations * residences * sipAddresses * skills * urls *
|
436
|
+
# userDefined
|
469
437
|
# Corresponds to the JSON property `readMask`
|
470
438
|
# @return [String]
|
471
439
|
attr_accessor :read_mask
|
472
440
|
|
473
|
-
# Optional. A mask of what source types to return. Defaults to
|
474
|
-
# ReadSourceType.
|
475
|
-
# ReadSourceType.PROFILE if not
|
476
|
-
# set.
|
441
|
+
# Optional. A mask of what source types to return. Defaults to ReadSourceType.
|
442
|
+
# CONTACT and ReadSourceType.PROFILE if not set.
|
477
443
|
# Corresponds to the JSON property `sources`
|
478
444
|
# @return [Array<String>]
|
479
445
|
attr_accessor :sources
|
@@ -490,13 +456,13 @@ module Google
|
|
490
456
|
end
|
491
457
|
end
|
492
458
|
|
493
|
-
# A person's cover photo. A large image shown on the person's
|
494
|
-
#
|
459
|
+
# A person's cover photo. A large image shown on the person's profile page that
|
460
|
+
# represents who they are or what they care about.
|
495
461
|
class CoverPhoto
|
496
462
|
include Google::Apis::Core::Hashable
|
497
463
|
|
498
|
-
# True if the cover photo is the default cover photo;
|
499
|
-
#
|
464
|
+
# True if the cover photo is the default cover photo; false if the cover photo
|
465
|
+
# is a user-provided cover photo.
|
500
466
|
# Corresponds to the JSON property `default`
|
501
467
|
# @return [Boolean]
|
502
468
|
attr_accessor :default
|
@@ -545,30 +511,29 @@ module Google
|
|
545
511
|
|
546
512
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
547
513
|
# and time zone are either specified elsewhere or are not significant. The date
|
548
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
549
|
-
#
|
550
|
-
# * A
|
551
|
-
# * A year
|
552
|
-
#
|
553
|
-
#
|
514
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
515
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
516
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
517
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
518
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
519
|
+
# Timestamp`.
|
554
520
|
class Date
|
555
521
|
include Google::Apis::Core::Hashable
|
556
522
|
|
557
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
558
|
-
#
|
523
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
|
524
|
+
# specifying a year by itself or a year and month where the day is not
|
559
525
|
# significant.
|
560
526
|
# Corresponds to the JSON property `day`
|
561
527
|
# @return [Fixnum]
|
562
528
|
attr_accessor :day
|
563
529
|
|
564
|
-
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
565
|
-
#
|
530
|
+
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
|
531
|
+
# and day.
|
566
532
|
# Corresponds to the JSON property `month`
|
567
533
|
# @return [Fixnum]
|
568
534
|
attr_accessor :month
|
569
535
|
|
570
|
-
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
571
|
-
# a year.
|
536
|
+
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
|
572
537
|
# Corresponds to the JSON property `year`
|
573
538
|
# @return [Fixnum]
|
574
539
|
attr_accessor :year
|
@@ -590,10 +555,9 @@ module Google
|
|
590
555
|
include Google::Apis::Core::Hashable
|
591
556
|
|
592
557
|
# Information about a person merged from various data sources such as the
|
593
|
-
# authenticated user's contacts and profile data.
|
594
|
-
#
|
595
|
-
#
|
596
|
-
# `metadata.primary` set to true.
|
558
|
+
# authenticated user's contacts and profile data. Most fields can have multiple
|
559
|
+
# items. The items in a field have no guaranteed order, but each non-empty field
|
560
|
+
# is guaranteed to have exactly one field with `metadata.primary` set to true.
|
597
561
|
# Corresponds to the JSON property `person`
|
598
562
|
# @return [Google::Apis::PeopleV1::Person]
|
599
563
|
attr_accessor :person
|
@@ -649,10 +613,7 @@ module Google
|
|
649
613
|
attr_accessor :metadata
|
650
614
|
|
651
615
|
# The type of the email address. The type can be custom or one of these
|
652
|
-
# predefined values:
|
653
|
-
# * `home`
|
654
|
-
# * `work`
|
655
|
-
# * `other`
|
616
|
+
# predefined values: * `home` * `work` * `other`
|
656
617
|
# Corresponds to the JSON property `type`
|
657
618
|
# @return [String]
|
658
619
|
attr_accessor :type
|
@@ -676,13 +637,11 @@ module Google
|
|
676
637
|
end
|
677
638
|
end
|
678
639
|
|
679
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
680
|
-
#
|
681
|
-
#
|
682
|
-
#
|
683
|
-
#
|
684
|
-
# `
|
685
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
640
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
641
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
642
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
643
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
644
|
+
# `Empty` is empty JSON object ````.
|
686
645
|
class Empty
|
687
646
|
include Google::Apis::Core::Hashable
|
688
647
|
|
@@ -701,18 +660,18 @@ module Google
|
|
701
660
|
|
702
661
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
703
662
|
# and time zone are either specified elsewhere or are not significant. The date
|
704
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
705
|
-
#
|
706
|
-
# * A
|
707
|
-
# * A year
|
708
|
-
#
|
709
|
-
#
|
663
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
664
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
665
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
666
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
667
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
668
|
+
# Timestamp`.
|
710
669
|
# Corresponds to the JSON property `date`
|
711
670
|
# @return [Google::Apis::PeopleV1::Date]
|
712
671
|
attr_accessor :date
|
713
672
|
|
714
|
-
# Output only. The type of the event translated and formatted in the
|
715
|
-
#
|
673
|
+
# Output only. The type of the event translated and formatted in the viewer's
|
674
|
+
# account locale or the `Accept-Language` HTTP header locale.
|
716
675
|
# Corresponds to the JSON property `formattedType`
|
717
676
|
# @return [String]
|
718
677
|
attr_accessor :formatted_type
|
@@ -723,9 +682,7 @@ module Google
|
|
723
682
|
attr_accessor :metadata
|
724
683
|
|
725
684
|
# The type of the event. The type can be custom or one of these predefined
|
726
|
-
# values:
|
727
|
-
# * `anniversary`
|
728
|
-
# * `other`
|
685
|
+
# values: * `anniversary` * `other`
|
729
686
|
# Corresponds to the JSON property `type`
|
730
687
|
# @return [String]
|
731
688
|
attr_accessor :type
|
@@ -760,9 +717,8 @@ module Google
|
|
760
717
|
attr_accessor :source
|
761
718
|
|
762
719
|
# Output only. True if the field is verified; false if the field is unverified.
|
763
|
-
# A
|
764
|
-
#
|
765
|
-
# website that has been confirmed to be owned by the person.
|
720
|
+
# A verified field is typically a name, email address, phone number, or website
|
721
|
+
# that has been confirmed to be owned by the person.
|
766
722
|
# Corresponds to the JSON property `verified`
|
767
723
|
# @return [Boolean]
|
768
724
|
attr_accessor :verified
|
@@ -809,19 +765,15 @@ module Google
|
|
809
765
|
class Gender
|
810
766
|
include Google::Apis::Core::Hashable
|
811
767
|
|
812
|
-
# The type of pronouns that should be used to address the person. The value
|
813
|
-
#
|
814
|
-
# * `male`
|
815
|
-
# * `female`
|
816
|
-
# * `other`
|
768
|
+
# The type of pronouns that should be used to address the person. The value can
|
769
|
+
# be custom or one of these predefined values: * `male` * `female` * `other`
|
817
770
|
# Corresponds to the JSON property `addressMeAs`
|
818
771
|
# @return [String]
|
819
772
|
attr_accessor :address_me_as
|
820
773
|
|
821
774
|
# Output only. The value of the gender translated and formatted in the viewer's
|
822
|
-
# account
|
823
|
-
#
|
824
|
-
# value are not localized.
|
775
|
+
# account locale or the `Accept-Language` HTTP header locale. Unspecified or
|
776
|
+
# custom value are not localized.
|
825
777
|
# Corresponds to the JSON property `formattedValue`
|
826
778
|
# @return [String]
|
827
779
|
attr_accessor :formatted_value
|
@@ -831,11 +783,8 @@ module Google
|
|
831
783
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
832
784
|
attr_accessor :metadata
|
833
785
|
|
834
|
-
# The gender for the person. The gender can be custom or one of these
|
835
|
-
#
|
836
|
-
# * `male`
|
837
|
-
# * `female`
|
838
|
-
# * `unspecified`
|
786
|
+
# The gender for the person. The gender can be custom or one of these predefined
|
787
|
+
# values: * `male` * `female` * `unspecified`
|
839
788
|
# Corresponds to the JSON property `value`
|
840
789
|
# @return [String]
|
841
790
|
attr_accessor :value
|
@@ -882,8 +831,8 @@ module Google
|
|
882
831
|
# @return [String]
|
883
832
|
attr_accessor :formatted_protocol
|
884
833
|
|
885
|
-
# Output only. The type of the IM client translated and formatted in the
|
886
|
-
#
|
834
|
+
# Output only. The type of the IM client translated and formatted in the viewer'
|
835
|
+
# s account locale or the `Accept-Language` HTTP header locale.
|
887
836
|
# Corresponds to the JSON property `formattedType`
|
888
837
|
# @return [String]
|
889
838
|
attr_accessor :formatted_type
|
@@ -894,25 +843,14 @@ module Google
|
|
894
843
|
attr_accessor :metadata
|
895
844
|
|
896
845
|
# The protocol of the IM client. The protocol can be custom or one of these
|
897
|
-
# predefined values:
|
898
|
-
# * `
|
899
|
-
# * `msn`
|
900
|
-
# * `yahoo`
|
901
|
-
# * `skype`
|
902
|
-
# * `qq`
|
903
|
-
# * `googleTalk`
|
904
|
-
# * `icq`
|
905
|
-
# * `jabber`
|
906
|
-
# * `netMeeting`
|
846
|
+
# predefined values: * `aim` * `msn` * `yahoo` * `skype` * `qq` * `googleTalk` *
|
847
|
+
# `icq` * `jabber` * `netMeeting`
|
907
848
|
# Corresponds to the JSON property `protocol`
|
908
849
|
# @return [String]
|
909
850
|
attr_accessor :protocol
|
910
851
|
|
911
|
-
# The type of the IM client. The type can be custom or one of these
|
912
|
-
#
|
913
|
-
# * `home`
|
914
|
-
# * `work`
|
915
|
-
# * `other`
|
852
|
+
# The type of the IM client. The type can be custom or one of these predefined
|
853
|
+
# values: * `home` * `work` * `other`
|
916
854
|
# Corresponds to the JSON property `type`
|
917
855
|
# @return [String]
|
918
856
|
attr_accessor :type
|
@@ -971,15 +909,14 @@ module Google
|
|
971
909
|
# @return [Array<Google::Apis::PeopleV1::Person>]
|
972
910
|
attr_accessor :connections
|
973
911
|
|
974
|
-
# A token, which can be sent as `page_token` to retrieve the next page.
|
975
|
-
#
|
912
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
913
|
+
# field is omitted, there are no subsequent pages.
|
976
914
|
# Corresponds to the JSON property `nextPageToken`
|
977
915
|
# @return [String]
|
978
916
|
attr_accessor :next_page_token
|
979
917
|
|
980
|
-
# A token, which can be sent as `sync_token` to retrieve changes since the
|
981
|
-
#
|
982
|
-
# token.
|
918
|
+
# A token, which can be sent as `sync_token` to retrieve changes since the last
|
919
|
+
# request. Request must set `request_sync_token` to return the sync token.
|
983
920
|
# Corresponds to the JSON property `nextSyncToken`
|
984
921
|
# @return [String]
|
985
922
|
attr_accessor :next_sync_token
|
@@ -989,8 +926,8 @@ module Google
|
|
989
926
|
# @return [Fixnum]
|
990
927
|
attr_accessor :total_items
|
991
928
|
|
992
|
-
# **DEPRECATED** (Please use totalItems)
|
993
|
-
#
|
929
|
+
# **DEPRECATED** (Please use totalItems) The total number of people in the list
|
930
|
+
# without pagination.
|
994
931
|
# Corresponds to the JSON property `totalPeople`
|
995
932
|
# @return [Fixnum]
|
996
933
|
attr_accessor :total_people
|
@@ -1013,8 +950,7 @@ module Google
|
|
1013
950
|
class ListContactGroupsResponse
|
1014
951
|
include Google::Apis::Core::Hashable
|
1015
952
|
|
1016
|
-
# The list of contact groups. Members of the contact groups are not
|
1017
|
-
# populated.
|
953
|
+
# The list of contact groups. Members of the contact groups are not populated.
|
1018
954
|
# Corresponds to the JSON property `contactGroups`
|
1019
955
|
# @return [Array<Google::Apis::PeopleV1::ContactGroup>]
|
1020
956
|
attr_accessor :contact_groups
|
@@ -1051,15 +987,14 @@ module Google
|
|
1051
987
|
class ListDirectoryPeopleResponse
|
1052
988
|
include Google::Apis::Core::Hashable
|
1053
989
|
|
1054
|
-
# A token, which can be sent as `page_token` to retrieve the next page.
|
1055
|
-
#
|
990
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
991
|
+
# field is omitted, there are no subsequent pages.
|
1056
992
|
# Corresponds to the JSON property `nextPageToken`
|
1057
993
|
# @return [String]
|
1058
994
|
attr_accessor :next_page_token
|
1059
995
|
|
1060
|
-
# A token, which can be sent as `sync_token` to retrieve changes since the
|
1061
|
-
#
|
1062
|
-
# token.
|
996
|
+
# A token, which can be sent as `sync_token` to retrieve changes since the last
|
997
|
+
# request. Request must set `request_sync_token` to return the sync token.
|
1063
998
|
# Corresponds to the JSON property `nextSyncToken`
|
1064
999
|
# @return [String]
|
1065
1000
|
attr_accessor :next_sync_token
|
@@ -1085,22 +1020,21 @@ module Google
|
|
1085
1020
|
class ListOtherContactsResponse
|
1086
1021
|
include Google::Apis::Core::Hashable
|
1087
1022
|
|
1088
|
-
# A token, which can be sent as `page_token` to retrieve the next page.
|
1089
|
-
#
|
1023
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1024
|
+
# field is omitted, there are no subsequent pages.
|
1090
1025
|
# Corresponds to the JSON property `nextPageToken`
|
1091
1026
|
# @return [String]
|
1092
1027
|
attr_accessor :next_page_token
|
1093
1028
|
|
1094
|
-
# A token, which can be sent as `sync_token` to retrieve changes since the
|
1095
|
-
#
|
1096
|
-
# token.
|
1029
|
+
# A token, which can be sent as `sync_token` to retrieve changes since the last
|
1030
|
+
# request. Request must set `request_sync_token` to return the sync token.
|
1097
1031
|
# Corresponds to the JSON property `nextSyncToken`
|
1098
1032
|
# @return [String]
|
1099
1033
|
attr_accessor :next_sync_token
|
1100
1034
|
|
1101
1035
|
# The list of "Other contacts" returned as Person resources. "Other contacts"
|
1102
|
-
# support a limited subset of fields. See
|
1103
|
-
#
|
1036
|
+
# support a limited subset of fields. See ListOtherContactsRequest.request_mask
|
1037
|
+
# for more detailed information.
|
1104
1038
|
# Corresponds to the JSON property `otherContacts`
|
1105
1039
|
# @return [Array<Google::Apis::PeopleV1::Person>]
|
1106
1040
|
attr_accessor :other_contacts
|
@@ -1126,8 +1060,8 @@ module Google
|
|
1126
1060
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1127
1061
|
attr_accessor :metadata
|
1128
1062
|
|
1129
|
-
# The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47)
|
1130
|
-
#
|
1063
|
+
# The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) language tag
|
1064
|
+
# representing the locale.
|
1131
1065
|
# Corresponds to the JSON property `value`
|
1132
1066
|
# @return [String]
|
1133
1067
|
attr_accessor :value
|
@@ -1176,19 +1110,19 @@ module Google
|
|
1176
1110
|
end
|
1177
1111
|
|
1178
1112
|
# A request to modify an existing contact group's members. Contacts can be
|
1179
|
-
# removed from any group but they can only be added to a user group or
|
1180
|
-
#
|
1113
|
+
# removed from any group but they can only be added to a user group or "
|
1114
|
+
# myContacts" or "starred" system groups.
|
1181
1115
|
class ModifyContactGroupMembersRequest
|
1182
1116
|
include Google::Apis::Core::Hashable
|
1183
1117
|
|
1184
|
-
# Optional. The resource names of the contact people to add in the form of
|
1185
|
-
#
|
1118
|
+
# Optional. The resource names of the contact people to add in the form of `
|
1119
|
+
# people/`person_id``.
|
1186
1120
|
# Corresponds to the JSON property `resourceNamesToAdd`
|
1187
1121
|
# @return [Array<String>]
|
1188
1122
|
attr_accessor :resource_names_to_add
|
1189
1123
|
|
1190
|
-
# Optional. The resource names of the contact people to remove in the form of
|
1191
|
-
#
|
1124
|
+
# Optional. The resource names of the contact people to remove in the form of `
|
1125
|
+
# people/`person_id``.
|
1192
1126
|
# Corresponds to the JSON property `resourceNamesToRemove`
|
1193
1127
|
# @return [Array<String>]
|
1194
1128
|
attr_accessor :resource_names_to_remove
|
@@ -1208,8 +1142,8 @@ module Google
|
|
1208
1142
|
class ModifyContactGroupMembersResponse
|
1209
1143
|
include Google::Apis::Core::Hashable
|
1210
1144
|
|
1211
|
-
# The contact people resource names that cannot be removed from their
|
1212
|
-
#
|
1145
|
+
# The contact people resource names that cannot be removed from their last
|
1146
|
+
# contact group.
|
1213
1147
|
# Corresponds to the JSON property `canNotRemoveLastContactGroupResourceNames`
|
1214
1148
|
# @return [Array<String>]
|
1215
1149
|
attr_accessor :can_not_remove_last_contact_group_resource_names
|
@@ -1241,8 +1175,8 @@ module Google
|
|
1241
1175
|
attr_accessor :display_name
|
1242
1176
|
|
1243
1177
|
# Output only. The display name with the last name first formatted according to
|
1244
|
-
# the locale specified by the viewer's account or the
|
1245
|
-
#
|
1178
|
+
# the locale specified by the viewer's account or the `Accept-Language` HTTP
|
1179
|
+
# header.
|
1246
1180
|
# Corresponds to the JSON property `displayNameLastFirst`
|
1247
1181
|
# @return [String]
|
1248
1182
|
attr_accessor :display_name_last_first
|
@@ -1392,13 +1326,12 @@ module Google
|
|
1392
1326
|
end
|
1393
1327
|
end
|
1394
1328
|
|
1395
|
-
# A person's past or current organization. Overlapping date ranges are
|
1396
|
-
# permitted.
|
1329
|
+
# A person's past or current organization. Overlapping date ranges are permitted.
|
1397
1330
|
class Organization
|
1398
1331
|
include Google::Apis::Core::Hashable
|
1399
1332
|
|
1400
|
-
# True if the organization is the person's current organization;
|
1401
|
-
#
|
1333
|
+
# True if the organization is the person's current organization; false if the
|
1334
|
+
# organization is a past organization.
|
1402
1335
|
# Corresponds to the JSON property `current`
|
1403
1336
|
# @return [Boolean]
|
1404
1337
|
attr_accessor :current
|
@@ -1409,20 +1342,19 @@ module Google
|
|
1409
1342
|
# @return [String]
|
1410
1343
|
attr_accessor :department
|
1411
1344
|
|
1412
|
-
# The domain name associated with the organization; for example,
|
1413
|
-
# `google.com`.
|
1345
|
+
# The domain name associated with the organization; for example, `google.com`.
|
1414
1346
|
# Corresponds to the JSON property `domain`
|
1415
1347
|
# @return [String]
|
1416
1348
|
attr_accessor :domain
|
1417
1349
|
|
1418
1350
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
1419
1351
|
# and time zone are either specified elsewhere or are not significant. The date
|
1420
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
1421
|
-
#
|
1422
|
-
# * A
|
1423
|
-
# * A year
|
1424
|
-
#
|
1425
|
-
#
|
1352
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
1353
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
1354
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
1355
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
1356
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
1357
|
+
# Timestamp`.
|
1426
1358
|
# Corresponds to the JSON property `endDate`
|
1427
1359
|
# @return [Google::Apis::PeopleV1::Date]
|
1428
1360
|
attr_accessor :end_date
|
@@ -1460,12 +1392,12 @@ module Google
|
|
1460
1392
|
|
1461
1393
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
1462
1394
|
# and time zone are either specified elsewhere or are not significant. The date
|
1463
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
1464
|
-
#
|
1465
|
-
# * A
|
1466
|
-
# * A year
|
1467
|
-
#
|
1468
|
-
#
|
1395
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
1396
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
1397
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
1398
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
1399
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
1400
|
+
# Timestamp`.
|
1469
1401
|
# Corresponds to the JSON property `startDate`
|
1470
1402
|
# @return [Google::Apis::PeopleV1::Date]
|
1471
1403
|
attr_accessor :start_date
|
@@ -1481,10 +1413,8 @@ module Google
|
|
1481
1413
|
# @return [String]
|
1482
1414
|
attr_accessor :title
|
1483
1415
|
|
1484
|
-
# The type of the organization. The type can be custom or
|
1485
|
-
# predefined values:
|
1486
|
-
# * `work`
|
1487
|
-
# * `school`
|
1416
|
+
# The type of the organization. The type can be custom or one of these
|
1417
|
+
# predefined values: * `work` * `school`
|
1488
1418
|
# Corresponds to the JSON property `type`
|
1489
1419
|
# @return [String]
|
1490
1420
|
attr_accessor :type
|
@@ -1513,10 +1443,9 @@ module Google
|
|
1513
1443
|
end
|
1514
1444
|
|
1515
1445
|
# Information about a person merged from various data sources such as the
|
1516
|
-
# authenticated user's contacts and profile data.
|
1517
|
-
#
|
1518
|
-
#
|
1519
|
-
# `metadata.primary` set to true.
|
1446
|
+
# authenticated user's contacts and profile data. Most fields can have multiple
|
1447
|
+
# items. The items in a field have no guaranteed order, but each non-empty field
|
1448
|
+
# is guaranteed to have exactly one field with `metadata.primary` set to true.
|
1520
1449
|
class Person
|
1521
1450
|
include Google::Apis::Core::Hashable
|
1522
1451
|
|
@@ -1525,8 +1454,8 @@ module Google
|
|
1525
1454
|
# @return [Array<Google::Apis::PeopleV1::Address>]
|
1526
1455
|
attr_accessor :addresses
|
1527
1456
|
|
1528
|
-
# Output only. **DEPRECATED** (Please use `person.ageRanges` instead)
|
1529
|
-
#
|
1457
|
+
# Output only. **DEPRECATED** (Please use `person.ageRanges` instead) The person'
|
1458
|
+
# s age range.
|
1530
1459
|
# Corresponds to the JSON property `ageRange`
|
1531
1460
|
# @return [String]
|
1532
1461
|
attr_accessor :age_range
|
@@ -1546,8 +1475,7 @@ module Google
|
|
1546
1475
|
# @return [Array<Google::Apis::PeopleV1::Birthday>]
|
1547
1476
|
attr_accessor :birthdays
|
1548
1477
|
|
1549
|
-
# **DEPRECATED**: No data will be returned
|
1550
|
-
# The person's bragging rights.
|
1478
|
+
# **DEPRECATED**: No data will be returned The person's bragging rights.
|
1551
1479
|
# Corresponds to the JSON property `braggingRights`
|
1552
1480
|
# @return [Array<Google::Apis::PeopleV1::BraggingRights>]
|
1553
1481
|
attr_accessor :bragging_rights
|
@@ -1562,8 +1490,8 @@ module Google
|
|
1562
1490
|
# @return [Array<Google::Apis::PeopleV1::EmailAddress>]
|
1563
1491
|
attr_accessor :email_addresses
|
1564
1492
|
|
1565
|
-
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the
|
1566
|
-
#
|
1493
|
+
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
1494
|
+
# Used for web cache validation.
|
1567
1495
|
# Corresponds to the JSON property `etag`
|
1568
1496
|
# @return [String]
|
1569
1497
|
attr_accessor :etag
|
@@ -1643,14 +1571,14 @@ module Google
|
|
1643
1571
|
# @return [Array<Google::Apis::PeopleV1::Relation>]
|
1644
1572
|
attr_accessor :relations
|
1645
1573
|
|
1646
|
-
# Output only. **DEPRECATED**: No data will be returned
|
1647
|
-
#
|
1574
|
+
# Output only. **DEPRECATED**: No data will be returned The person's
|
1575
|
+
# relationship interests.
|
1648
1576
|
# Corresponds to the JSON property `relationshipInterests`
|
1649
1577
|
# @return [Array<Google::Apis::PeopleV1::RelationshipInterest>]
|
1650
1578
|
attr_accessor :relationship_interests
|
1651
1579
|
|
1652
|
-
# Output only. **DEPRECATED**: No data will be returned
|
1653
|
-
#
|
1580
|
+
# Output only. **DEPRECATED**: No data will be returned The person's
|
1581
|
+
# relationship statuses.
|
1654
1582
|
# Corresponds to the JSON property `relationshipStatuses`
|
1655
1583
|
# @return [Array<Google::Apis::PeopleV1::RelationshipStatus>]
|
1656
1584
|
attr_accessor :relationship_statuses
|
@@ -1660,9 +1588,8 @@ module Google
|
|
1660
1588
|
# @return [Array<Google::Apis::PeopleV1::Residence>]
|
1661
1589
|
attr_accessor :residences
|
1662
1590
|
|
1663
|
-
# The resource name for the person, assigned by the server. An ASCII string
|
1664
|
-
#
|
1665
|
-
# `people/`person_id``.
|
1591
|
+
# The resource name for the person, assigned by the server. An ASCII string with
|
1592
|
+
# a max length of 27 characters, in the form of `people/`person_id``.
|
1666
1593
|
# Corresponds to the JSON property `resourceName`
|
1667
1594
|
# @return [String]
|
1668
1595
|
attr_accessor :resource_name
|
@@ -1677,8 +1604,7 @@ module Google
|
|
1677
1604
|
# @return [Array<Google::Apis::PeopleV1::Skill>]
|
1678
1605
|
attr_accessor :skills
|
1679
1606
|
|
1680
|
-
# Output only. **DEPRECATED**: No data will be returned
|
1681
|
-
# The person's taglines.
|
1607
|
+
# Output only. **DEPRECATED**: No data will be returned The person's taglines.
|
1682
1608
|
# Corresponds to the JSON property `taglines`
|
1683
1609
|
# @return [Array<Google::Apis::PeopleV1::Tagline>]
|
1684
1610
|
attr_accessor :taglines
|
@@ -1739,9 +1665,9 @@ module Google
|
|
1739
1665
|
class PersonMetadata
|
1740
1666
|
include Google::Apis::Core::Hashable
|
1741
1667
|
|
1742
|
-
# Output only. True if the person resource has been deleted. Populated only for
|
1743
|
-
#
|
1744
|
-
#
|
1668
|
+
# Output only. True if the person resource has been deleted. Populated only for [
|
1669
|
+
# `connections.list`](/people/api/rest/v1/people.connections/list) requests that
|
1670
|
+
# include a sync token.
|
1745
1671
|
# Corresponds to the JSON property `deleted`
|
1746
1672
|
# @return [Boolean]
|
1747
1673
|
attr_accessor :deleted
|
@@ -1752,19 +1678,17 @@ module Google
|
|
1752
1678
|
# @return [Array<String>]
|
1753
1679
|
attr_accessor :linked_people_resource_names
|
1754
1680
|
|
1755
|
-
# Output only. **DEPRECATED** (Please use
|
1756
|
-
#
|
1757
|
-
# The type of the person object.
|
1681
|
+
# Output only. **DEPRECATED** (Please use `person.metadata.sources.
|
1682
|
+
# profileMetadata.objectType` instead) The type of the person object.
|
1758
1683
|
# Corresponds to the JSON property `objectType`
|
1759
1684
|
# @return [String]
|
1760
1685
|
attr_accessor :object_type
|
1761
1686
|
|
1762
1687
|
# Output only. Any former resource names this person has had. Populated only for
|
1763
1688
|
# [`connections.list`](/people/api/rest/v1/people.connections/list) requests
|
1764
|
-
# that include a sync token.
|
1765
|
-
#
|
1766
|
-
#
|
1767
|
-
# profile URL.
|
1689
|
+
# that include a sync token. The resource name may change when adding or
|
1690
|
+
# removing fields that link a contact and profile such as a verified email,
|
1691
|
+
# verified phone number, or profile URL.
|
1768
1692
|
# Corresponds to the JSON property `previousResourceNames`
|
1769
1693
|
# @return [Array<String>]
|
1770
1694
|
attr_accessor :previous_resource_names
|
@@ -1792,37 +1716,34 @@ module Google
|
|
1792
1716
|
class PersonResponse
|
1793
1717
|
include Google::Apis::Core::Hashable
|
1794
1718
|
|
1795
|
-
# **DEPRECATED** (Please use status instead)
|
1796
|
-
#
|
1797
|
-
# (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).
|
1719
|
+
# **DEPRECATED** (Please use status instead) [HTTP 1.1 status code] (http://www.
|
1720
|
+
# w3.org/Protocols/rfc2616/rfc2616-sec10.html).
|
1798
1721
|
# Corresponds to the JSON property `httpStatusCode`
|
1799
1722
|
# @return [Fixnum]
|
1800
1723
|
attr_accessor :http_status_code
|
1801
1724
|
|
1802
1725
|
# Information about a person merged from various data sources such as the
|
1803
|
-
# authenticated user's contacts and profile data.
|
1804
|
-
#
|
1805
|
-
#
|
1806
|
-
# `metadata.primary` set to true.
|
1726
|
+
# authenticated user's contacts and profile data. Most fields can have multiple
|
1727
|
+
# items. The items in a field have no guaranteed order, but each non-empty field
|
1728
|
+
# is guaranteed to have exactly one field with `metadata.primary` set to true.
|
1807
1729
|
# Corresponds to the JSON property `person`
|
1808
1730
|
# @return [Google::Apis::PeopleV1::Person]
|
1809
1731
|
attr_accessor :person
|
1810
1732
|
|
1811
|
-
# The original requested resource name. May be different than the resource
|
1812
|
-
#
|
1813
|
-
#
|
1814
|
-
#
|
1815
|
-
# profile URL.
|
1733
|
+
# The original requested resource name. May be different than the resource name
|
1734
|
+
# on the returned person. The resource name can change when adding or removing
|
1735
|
+
# fields that link a contact and profile such as a verified email, verified
|
1736
|
+
# phone number, or a profile URL.
|
1816
1737
|
# Corresponds to the JSON property `requestedResourceName`
|
1817
1738
|
# @return [String]
|
1818
1739
|
attr_accessor :requested_resource_name
|
1819
1740
|
|
1820
|
-
# The `Status` type defines a logical error model that is suitable for
|
1821
|
-
#
|
1822
|
-
#
|
1823
|
-
#
|
1824
|
-
#
|
1825
|
-
#
|
1741
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1742
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1743
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1744
|
+
# data: error code, error message, and error details. You can find out more
|
1745
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1746
|
+
# //cloud.google.com/apis/design/errors).
|
1826
1747
|
# Corresponds to the JSON property `status`
|
1827
1748
|
# @return [Google::Apis::PeopleV1::Status]
|
1828
1749
|
attr_accessor :status
|
@@ -1844,9 +1765,8 @@ module Google
|
|
1844
1765
|
class PhoneNumber
|
1845
1766
|
include Google::Apis::Core::Hashable
|
1846
1767
|
|
1847
|
-
# Output only. The canonicalized [ITU-T
|
1848
|
-
#
|
1849
|
-
# form of the phone number.
|
1768
|
+
# Output only. The canonicalized [ITU-T E.164](https://law.resource.org/pub/us/
|
1769
|
+
# cfr/ibr/004/itu-t.E.164.1.2008.pdf) form of the phone number.
|
1850
1770
|
# Corresponds to the JSON property `canonicalForm`
|
1851
1771
|
# @return [String]
|
1852
1772
|
attr_accessor :canonical_form
|
@@ -1863,19 +1783,9 @@ module Google
|
|
1863
1783
|
attr_accessor :metadata
|
1864
1784
|
|
1865
1785
|
# The type of the phone number. The type can be custom or one of these
|
1866
|
-
# predefined values:
|
1867
|
-
# * `
|
1868
|
-
#
|
1869
|
-
# * `mobile`
|
1870
|
-
# * `homeFax`
|
1871
|
-
# * `workFax`
|
1872
|
-
# * `otherFax`
|
1873
|
-
# * `pager`
|
1874
|
-
# * `workMobile`
|
1875
|
-
# * `workPager`
|
1876
|
-
# * `main`
|
1877
|
-
# * `googleVoice`
|
1878
|
-
# * `other`
|
1786
|
+
# predefined values: * `home` * `work` * `mobile` * `homeFax` * `workFax` * `
|
1787
|
+
# otherFax` * `pager` * `workMobile` * `workPager` * `main` * `googleVoice` * `
|
1788
|
+
# other`
|
1879
1789
|
# Corresponds to the JSON property `type`
|
1880
1790
|
# @return [String]
|
1881
1791
|
attr_accessor :type
|
@@ -1899,13 +1809,13 @@ module Google
|
|
1899
1809
|
end
|
1900
1810
|
end
|
1901
1811
|
|
1902
|
-
# A person's photo. A picture shown next to the person's name to
|
1903
|
-
#
|
1812
|
+
# A person's photo. A picture shown next to the person's name to help others
|
1813
|
+
# recognize the person.
|
1904
1814
|
class Photo
|
1905
1815
|
include Google::Apis::Core::Hashable
|
1906
1816
|
|
1907
|
-
# True if the photo is a default photo;
|
1908
|
-
#
|
1817
|
+
# True if the photo is a default photo; false if the photo is a user-provided
|
1818
|
+
# photo.
|
1909
1819
|
# Corresponds to the JSON property `default`
|
1910
1820
|
# @return [Boolean]
|
1911
1821
|
attr_accessor :default
|
@@ -1918,9 +1828,8 @@ module Google
|
|
1918
1828
|
|
1919
1829
|
# The URL of the photo. You can change the desired size by appending a query
|
1920
1830
|
# parameter `sz=`size`` at the end of the url, where `size` is the size in
|
1921
|
-
# pixels. Example:
|
1922
|
-
#
|
1923
|
-
# 00gzXvDBYqw/s100/photo.jpg?sz=50
|
1831
|
+
# pixels. Example: https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/
|
1832
|
+
# AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50
|
1924
1833
|
# Corresponds to the JSON property `url`
|
1925
1834
|
# @return [String]
|
1926
1835
|
attr_accessor :url
|
@@ -1983,21 +1892,9 @@ module Google
|
|
1983
1892
|
attr_accessor :person
|
1984
1893
|
|
1985
1894
|
# The person's relation to the other person. The type can be custom or one of
|
1986
|
-
# these predefined values:
|
1987
|
-
# * `
|
1988
|
-
# * `
|
1989
|
-
# * `mother`
|
1990
|
-
# * `father`
|
1991
|
-
# * `parent`
|
1992
|
-
# * `brother`
|
1993
|
-
# * `sister`
|
1994
|
-
# * `friend`
|
1995
|
-
# * `relative`
|
1996
|
-
# * `domesticPartner`
|
1997
|
-
# * `manager`
|
1998
|
-
# * `assistant`
|
1999
|
-
# * `referredBy`
|
2000
|
-
# * `partner`
|
1895
|
+
# these predefined values: * `spouse` * `child` * `mother` * `father` * `parent`
|
1896
|
+
# * `brother` * `sister` * `friend` * `relative` * `domesticPartner` * `manager`
|
1897
|
+
# * `assistant` * `referredBy` * `partner`
|
2001
1898
|
# Corresponds to the JSON property `type`
|
2002
1899
|
# @return [String]
|
2003
1900
|
attr_accessor :type
|
@@ -2015,14 +1912,13 @@ module Google
|
|
2015
1912
|
end
|
2016
1913
|
end
|
2017
1914
|
|
2018
|
-
# **DEPRECATED**: No data will be returned
|
2019
|
-
# A person's relationship interest .
|
1915
|
+
# **DEPRECATED**: No data will be returned A person's relationship interest .
|
2020
1916
|
class RelationshipInterest
|
2021
1917
|
include Google::Apis::Core::Hashable
|
2022
1918
|
|
2023
1919
|
# Output only. The value of the relationship interest translated and formatted
|
2024
|
-
# in the viewer's account locale or the locale specified in the
|
2025
|
-
#
|
1920
|
+
# in the viewer's account locale or the locale specified in the Accept-Language
|
1921
|
+
# HTTP header.
|
2026
1922
|
# Corresponds to the JSON property `formattedValue`
|
2027
1923
|
# @return [String]
|
2028
1924
|
attr_accessor :formatted_value
|
@@ -2032,12 +1928,9 @@ module Google
|
|
2032
1928
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
2033
1929
|
attr_accessor :metadata
|
2034
1930
|
|
2035
|
-
# The kind of relationship the person is looking for. The value can be custom
|
2036
|
-
#
|
2037
|
-
#
|
2038
|
-
# * `date`
|
2039
|
-
# * `relationship`
|
2040
|
-
# * `networking`
|
1931
|
+
# The kind of relationship the person is looking for. The value can be custom or
|
1932
|
+
# one of these predefined values: * `friend` * `date` * `relationship` * `
|
1933
|
+
# networking`
|
2041
1934
|
# Corresponds to the JSON property `value`
|
2042
1935
|
# @return [String]
|
2043
1936
|
attr_accessor :value
|
@@ -2054,8 +1947,7 @@ module Google
|
|
2054
1947
|
end
|
2055
1948
|
end
|
2056
1949
|
|
2057
|
-
# **DEPRECATED**: No data will be returned
|
2058
|
-
# A person's relationship status.
|
1950
|
+
# **DEPRECATED**: No data will be returned A person's relationship status.
|
2059
1951
|
class RelationshipStatus
|
2060
1952
|
include Google::Apis::Core::Hashable
|
2061
1953
|
|
@@ -2070,17 +1962,10 @@ module Google
|
|
2070
1962
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
2071
1963
|
attr_accessor :metadata
|
2072
1964
|
|
2073
|
-
# The relationship status. The value can be custom or one of these
|
2074
|
-
#
|
2075
|
-
# * `
|
2076
|
-
#
|
2077
|
-
# * `engaged`
|
2078
|
-
# * `married`
|
2079
|
-
# * `itsComplicated`
|
2080
|
-
# * `openRelationship`
|
2081
|
-
# * `widowed`
|
2082
|
-
# * `inDomesticPartnership`
|
2083
|
-
# * `inCivilUnion`
|
1965
|
+
# The relationship status. The value can be custom or one of these predefined
|
1966
|
+
# values: * `single` * `inARelationship` * `engaged` * `married` * `
|
1967
|
+
# itsComplicated` * `openRelationship` * `widowed` * `inDomesticPartnership` * `
|
1968
|
+
# inCivilUnion`
|
2084
1969
|
# Corresponds to the JSON property `value`
|
2085
1970
|
# @return [String]
|
2086
1971
|
attr_accessor :value
|
@@ -2101,8 +1986,8 @@ module Google
|
|
2101
1986
|
class Residence
|
2102
1987
|
include Google::Apis::Core::Hashable
|
2103
1988
|
|
2104
|
-
# True if the residence is the person's current residence;
|
2105
|
-
#
|
1989
|
+
# True if the residence is the person's current residence; false if the
|
1990
|
+
# residence is a past residence.
|
2106
1991
|
# Corresponds to the JSON property `current`
|
2107
1992
|
# @return [Boolean]
|
2108
1993
|
attr_accessor :current
|
@@ -2135,8 +2020,8 @@ module Google
|
|
2135
2020
|
class SearchDirectoryPeopleResponse
|
2136
2021
|
include Google::Apis::Core::Hashable
|
2137
2022
|
|
2138
|
-
# A token, which can be sent as `page_token` to retrieve the next page.
|
2139
|
-
#
|
2023
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2024
|
+
# field is omitted, there are no subsequent pages.
|
2140
2025
|
# Corresponds to the JSON property `nextPageToken`
|
2141
2026
|
# @return [String]
|
2142
2027
|
attr_accessor :next_page_token
|
@@ -2180,18 +2065,13 @@ module Google
|
|
2180
2065
|
attr_accessor :metadata
|
2181
2066
|
|
2182
2067
|
# The type of the SIP address. The type can be custom or or one of these
|
2183
|
-
# predefined values:
|
2184
|
-
# * `home`
|
2185
|
-
# * `work`
|
2186
|
-
# * `mobile`
|
2187
|
-
# * `other`
|
2068
|
+
# predefined values: * `home` * `work` * `mobile` * `other`
|
2188
2069
|
# Corresponds to the JSON property `type`
|
2189
2070
|
# @return [String]
|
2190
2071
|
attr_accessor :type
|
2191
2072
|
|
2192
|
-
# The SIP address in the
|
2193
|
-
#
|
2194
|
-
# format.
|
2073
|
+
# The SIP address in the [RFC 3261 19.1](https://tools.ietf.org/html/rfc3261#
|
2074
|
+
# section-19.1) SIP URI format.
|
2195
2075
|
# Corresponds to the JSON property `value`
|
2196
2076
|
# @return [String]
|
2197
2077
|
attr_accessor :value
|
@@ -2238,9 +2118,8 @@ module Google
|
|
2238
2118
|
class Source
|
2239
2119
|
include Google::Apis::Core::Hashable
|
2240
2120
|
|
2241
|
-
# **Only populated in `person.metadata.sources`.**
|
2242
|
-
#
|
2243
|
-
# source. Used for web cache validation.
|
2121
|
+
# **Only populated in `person.metadata.sources`.** The [HTTP entity tag](https://
|
2122
|
+
# en.wikipedia.org/wiki/HTTP_ETag) of the source. Used for web cache validation.
|
2244
2123
|
# Corresponds to the JSON property `etag`
|
2245
2124
|
# @return [String]
|
2246
2125
|
attr_accessor :etag
|
@@ -2260,8 +2139,8 @@ module Google
|
|
2260
2139
|
# @return [String]
|
2261
2140
|
attr_accessor :type
|
2262
2141
|
|
2263
|
-
# Output only. **Only populated in `person.metadata.sources`.**
|
2264
|
-
#
|
2142
|
+
# Output only. **Only populated in `person.metadata.sources`.** Last update
|
2143
|
+
# timestamp of this source.
|
2265
2144
|
# Corresponds to the JSON property `updateTime`
|
2266
2145
|
# @return [String]
|
2267
2146
|
attr_accessor :update_time
|
@@ -2280,12 +2159,12 @@ module Google
|
|
2280
2159
|
end
|
2281
2160
|
end
|
2282
2161
|
|
2283
|
-
# The `Status` type defines a logical error model that is suitable for
|
2284
|
-
#
|
2285
|
-
#
|
2286
|
-
#
|
2287
|
-
#
|
2288
|
-
#
|
2162
|
+
# The `Status` type defines a logical error model that is suitable for different
|
2163
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2164
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
2165
|
+
# data: error code, error message, and error details. You can find out more
|
2166
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
2167
|
+
# //cloud.google.com/apis/design/errors).
|
2289
2168
|
class Status
|
2290
2169
|
include Google::Apis::Core::Hashable
|
2291
2170
|
|
@@ -2294,15 +2173,15 @@ module Google
|
|
2294
2173
|
# @return [Fixnum]
|
2295
2174
|
attr_accessor :code
|
2296
2175
|
|
2297
|
-
# A list of messages that carry the error details.
|
2176
|
+
# A list of messages that carry the error details. There is a common set of
|
2298
2177
|
# message types for APIs to use.
|
2299
2178
|
# Corresponds to the JSON property `details`
|
2300
2179
|
# @return [Array<Hash<String,Object>>]
|
2301
2180
|
attr_accessor :details
|
2302
2181
|
|
2303
|
-
# A developer-facing error message, which should be in English. Any
|
2304
|
-
#
|
2305
|
-
#
|
2182
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
2183
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
2184
|
+
# field, or localized by the client.
|
2306
2185
|
# Corresponds to the JSON property `message`
|
2307
2186
|
# @return [String]
|
2308
2187
|
attr_accessor :message
|
@@ -2319,8 +2198,8 @@ module Google
|
|
2319
2198
|
end
|
2320
2199
|
end
|
2321
2200
|
|
2322
|
-
# **DEPRECATED**: No data will be returned
|
2323
|
-
#
|
2201
|
+
# **DEPRECATED**: No data will be returned A brief one-line description of the
|
2202
|
+
# person.
|
2324
2203
|
class Tagline
|
2325
2204
|
include Google::Apis::Core::Hashable
|
2326
2205
|
|
@@ -2345,8 +2224,8 @@ module Google
|
|
2345
2224
|
end
|
2346
2225
|
end
|
2347
2226
|
|
2348
|
-
# A request to update an existing user contact group. All updated fields will
|
2349
|
-
#
|
2227
|
+
# A request to update an existing user contact group. All updated fields will be
|
2228
|
+
# replaced.
|
2350
2229
|
class UpdateContactGroupRequest
|
2351
2230
|
include Google::Apis::Core::Hashable
|
2352
2231
|
|
@@ -2365,40 +2244,18 @@ module Google
|
|
2365
2244
|
end
|
2366
2245
|
end
|
2367
2246
|
|
2368
|
-
# A request to update an existing contact's photo.
|
2369
|
-
#
|
2247
|
+
# A request to update an existing contact's photo. All requests must have a
|
2248
|
+
# valid photo format: JPEG or PNG.
|
2370
2249
|
class UpdateContactPhotoRequest
|
2371
2250
|
include Google::Apis::Core::Hashable
|
2372
2251
|
|
2373
2252
|
# Optional. A field mask to restrict which fields on the person are returned.
|
2374
|
-
# Multiple
|
2375
|
-
#
|
2376
|
-
#
|
2377
|
-
# *
|
2378
|
-
# *
|
2379
|
-
# *
|
2380
|
-
# * birthdays
|
2381
|
-
# * coverPhotos
|
2382
|
-
# * emailAddresses
|
2383
|
-
# * events
|
2384
|
-
# * genders
|
2385
|
-
# * imClients
|
2386
|
-
# * interests
|
2387
|
-
# * locales
|
2388
|
-
# * memberships
|
2389
|
-
# * metadata
|
2390
|
-
# * names
|
2391
|
-
# * nicknames
|
2392
|
-
# * occupations
|
2393
|
-
# * organizations
|
2394
|
-
# * phoneNumbers
|
2395
|
-
# * photos
|
2396
|
-
# * relations
|
2397
|
-
# * residences
|
2398
|
-
# * sipAddresses
|
2399
|
-
# * skills
|
2400
|
-
# * urls
|
2401
|
-
# * userDefined
|
2253
|
+
# Multiple fields can be specified by separating them with commas. Defaults to
|
2254
|
+
# empty if not set, which will skip the post mutate get. Valid values are: *
|
2255
|
+
# addresses * ageRanges * biographies * birthdays * coverPhotos * emailAddresses
|
2256
|
+
# * events * genders * imClients * interests * locales * memberships * metadata *
|
2257
|
+
# names * nicknames * occupations * organizations * phoneNumbers * photos *
|
2258
|
+
# relations * residences * sipAddresses * skills * urls * userDefined
|
2402
2259
|
# Corresponds to the JSON property `personFields`
|
2403
2260
|
# @return [String]
|
2404
2261
|
attr_accessor :person_fields
|
@@ -2409,10 +2266,8 @@ module Google
|
|
2409
2266
|
# @return [String]
|
2410
2267
|
attr_accessor :photo_bytes
|
2411
2268
|
|
2412
|
-
# Optional. A mask of what source types to return. Defaults to
|
2413
|
-
# ReadSourceType.
|
2414
|
-
# ReadSourceType.PROFILE if not
|
2415
|
-
# set.
|
2269
|
+
# Optional. A mask of what source types to return. Defaults to ReadSourceType.
|
2270
|
+
# CONTACT and ReadSourceType.PROFILE if not set.
|
2416
2271
|
# Corresponds to the JSON property `sources`
|
2417
2272
|
# @return [Array<String>]
|
2418
2273
|
attr_accessor :sources
|
@@ -2434,10 +2289,9 @@ module Google
|
|
2434
2289
|
include Google::Apis::Core::Hashable
|
2435
2290
|
|
2436
2291
|
# Information about a person merged from various data sources such as the
|
2437
|
-
# authenticated user's contacts and profile data.
|
2438
|
-
#
|
2439
|
-
#
|
2440
|
-
# `metadata.primary` set to true.
|
2292
|
+
# authenticated user's contacts and profile data. Most fields can have multiple
|
2293
|
+
# items. The items in a field have no guaranteed order, but each non-empty field
|
2294
|
+
# is guaranteed to have exactly one field with `metadata.primary` set to true.
|
2441
2295
|
# Corresponds to the JSON property `person`
|
2442
2296
|
# @return [Google::Apis::PeopleV1::Person]
|
2443
2297
|
attr_accessor :person
|
@@ -2467,17 +2321,9 @@ module Google
|
|
2467
2321
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
2468
2322
|
attr_accessor :metadata
|
2469
2323
|
|
2470
|
-
# The type of the URL. The type can be custom or one of these predefined
|
2471
|
-
#
|
2472
|
-
# * `
|
2473
|
-
# * `work`
|
2474
|
-
# * `blog`
|
2475
|
-
# * `profile`
|
2476
|
-
# * `homePage`
|
2477
|
-
# * `ftp`
|
2478
|
-
# * `reservations`
|
2479
|
-
# * `appInstallPage`: website for a Google+ application.
|
2480
|
-
# * `other`
|
2324
|
+
# The type of the URL. The type can be custom or one of these predefined values:
|
2325
|
+
# * `home` * `work` * `blog` * `profile` * `homePage` * `ftp` * `reservations` *
|
2326
|
+
# `appInstallPage`: website for a Google+ application. * `other`
|
2481
2327
|
# Corresponds to the JSON property `type`
|
2482
2328
|
# @return [String]
|
2483
2329
|
attr_accessor :type
|