diff --git a/api_names_out.yaml b/api_names_out.yaml index 64fc8f0dc..21fd48ab7 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -70097,6 +70097,8 @@ "/dns:v1/ManagedZone/nameServerSet": name_server_set "/dns:v1/ManagedZone/nameServers": name_servers "/dns:v1/ManagedZone/nameServers/name_server": name_server +"/dns:v1/ManagedZone/privateVisibilityConfig": private_visibility_config +"/dns:v1/ManagedZone/visibility": visibility "/dns:v1/ManagedZoneDnsSecConfig": managed_zone_dns_sec_config "/dns:v1/ManagedZoneDnsSecConfig/defaultKeySpecs": default_key_specs "/dns:v1/ManagedZoneDnsSecConfig/defaultKeySpecs/default_key_spec": default_key_spec @@ -70109,6 +70111,13 @@ "/dns:v1/ManagedZoneOperationsListResponse/nextPageToken": next_page_token "/dns:v1/ManagedZoneOperationsListResponse/operations": operations "/dns:v1/ManagedZoneOperationsListResponse/operations/operation": operation +"/dns:v1/ManagedZonePrivateVisibilityConfig": managed_zone_private_visibility_config +"/dns:v1/ManagedZonePrivateVisibilityConfig/kind": kind +"/dns:v1/ManagedZonePrivateVisibilityConfig/networks": networks +"/dns:v1/ManagedZonePrivateVisibilityConfig/networks/network": network +"/dns:v1/ManagedZonePrivateVisibilityConfigNetwork": managed_zone_private_visibility_config_network +"/dns:v1/ManagedZonePrivateVisibilityConfigNetwork/kind": kind +"/dns:v1/ManagedZonePrivateVisibilityConfigNetwork/networkUrl": network_url "/dns:v1/ManagedZonesListResponse": list_managed_zones_response "/dns:v1/ManagedZonesListResponse/header": header "/dns:v1/ManagedZonesListResponse/kind": kind @@ -70140,6 +70149,8 @@ "/dns:v1/Quota/dnsKeysPerManagedZone": dns_keys_per_managed_zone "/dns:v1/Quota/kind": kind "/dns:v1/Quota/managedZones": managed_zones +"/dns:v1/Quota/managedZonesPerNetwork": managed_zones_per_network +"/dns:v1/Quota/networksPerManagedZone": networks_per_managed_zone "/dns:v1/Quota/resourceRecordsPerRrset": resource_records_per_rrset "/dns:v1/Quota/rrsetAdditionsPerChange": rrset_additions_per_change "/dns:v1/Quota/rrsetDeletionsPerChange": rrset_deletions_per_change @@ -70576,6 +70587,8 @@ "/dns:v2beta1/ManagedZone/nameServerSet": name_server_set "/dns:v2beta1/ManagedZone/nameServers": name_servers "/dns:v2beta1/ManagedZone/nameServers/name_server": name_server +"/dns:v2beta1/ManagedZone/privateVisibilityConfig": private_visibility_config +"/dns:v2beta1/ManagedZone/visibility": visibility "/dns:v2beta1/ManagedZoneDnsSecConfig": managed_zone_dns_sec_config "/dns:v2beta1/ManagedZoneDnsSecConfig/defaultKeySpecs": default_key_specs "/dns:v2beta1/ManagedZoneDnsSecConfig/defaultKeySpecs/default_key_spec": default_key_spec @@ -70588,6 +70601,13 @@ "/dns:v2beta1/ManagedZoneOperationsListResponse/nextPageToken": next_page_token "/dns:v2beta1/ManagedZoneOperationsListResponse/operations": operations "/dns:v2beta1/ManagedZoneOperationsListResponse/operations/operation": operation +"/dns:v2beta1/ManagedZonePrivateVisibilityConfig": managed_zone_private_visibility_config +"/dns:v2beta1/ManagedZonePrivateVisibilityConfig/kind": kind +"/dns:v2beta1/ManagedZonePrivateVisibilityConfig/networks": networks +"/dns:v2beta1/ManagedZonePrivateVisibilityConfig/networks/network": network +"/dns:v2beta1/ManagedZonePrivateVisibilityConfigNetwork": managed_zone_private_visibility_config_network +"/dns:v2beta1/ManagedZonePrivateVisibilityConfigNetwork/kind": kind +"/dns:v2beta1/ManagedZonePrivateVisibilityConfigNetwork/networkUrl": network_url "/dns:v2beta1/ManagedZonesDeleteResponse": managed_zones_delete_response "/dns:v2beta1/ManagedZonesDeleteResponse/header": header "/dns:v2beta1/ManagedZonesListResponse": managed_zones_list_response @@ -70621,6 +70641,8 @@ "/dns:v2beta1/Quota/dnsKeysPerManagedZone": dns_keys_per_managed_zone "/dns:v2beta1/Quota/kind": kind "/dns:v2beta1/Quota/managedZones": managed_zones +"/dns:v2beta1/Quota/managedZonesPerNetwork": managed_zones_per_network +"/dns:v2beta1/Quota/networksPerManagedZone": networks_per_managed_zone "/dns:v2beta1/Quota/resourceRecordsPerRrset": resource_records_per_rrset "/dns:v2beta1/Quota/rrsetAdditionsPerChange": rrset_additions_per_change "/dns:v2beta1/Quota/rrsetDeletionsPerChange": rrset_deletions_per_change @@ -88373,6 +88395,7 @@ "/remotebuildexecution:v1/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/files/file": file "/remotebuildexecution:v1/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/inlineBlobs": inline_blobs "/remotebuildexecution:v1/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/inlineBlobs/inline_blob": inline_blob +"/remotebuildexecution:v1/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/workingDirectory": working_directory "/remotebuildexecution:v1/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable": google_devtools_remoteworkers_v1test2_command_task_inputs_environment_variable "/remotebuildexecution:v1/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable/name": name "/remotebuildexecution:v1/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable/value": value @@ -88724,6 +88747,7 @@ "/remotebuildexecution:v1alpha/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/files/file": file "/remotebuildexecution:v1alpha/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/inlineBlobs": inline_blobs "/remotebuildexecution:v1alpha/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/inlineBlobs/inline_blob": inline_blob +"/remotebuildexecution:v1alpha/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/workingDirectory": working_directory "/remotebuildexecution:v1alpha/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable": google_devtools_remoteworkers_v1test2_command_task_inputs_environment_variable "/remotebuildexecution:v1alpha/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable/name": name "/remotebuildexecution:v1alpha/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable/value": value @@ -89134,6 +89158,7 @@ "/remotebuildexecution:v2/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/files/file": file "/remotebuildexecution:v2/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/inlineBlobs": inline_blobs "/remotebuildexecution:v2/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/inlineBlobs/inline_blob": inline_blob +"/remotebuildexecution:v2/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs/workingDirectory": working_directory "/remotebuildexecution:v2/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable": google_devtools_remoteworkers_v1test2_command_task_inputs_environment_variable "/remotebuildexecution:v2/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable/name": name "/remotebuildexecution:v2/GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable/value": value @@ -102494,9 +102519,11 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelAnnotation/segments": segments "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelAnnotation/segments/segment": segment "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelDetectionConfig": google_cloud_videointelligence_v1_label_detection_config +"/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelDetectionConfig/frameConfidenceThreshold": frame_confidence_threshold "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelDetectionConfig/labelDetectionMode": label_detection_mode "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelDetectionConfig/model": model "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelDetectionConfig/stationaryCamera": stationary_camera +"/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelDetectionConfig/videoConfidenceThreshold": video_confidence_threshold "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelFrame": google_cloud_videointelligence_v1_label_frame "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelFrame/confidence": confidence "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelFrame/timeOffset": time_offset @@ -102983,6 +103010,123 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_WordInfo/speakerTag": speaker_tag "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_WordInfo/startTime": start_time "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_WordInfo/word": word +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress": google_cloud_videointelligence_v1p3beta1_annotate_video_progress +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress/annotationProgress": annotation_progress +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress/annotationProgress/annotation_progress": annotation_progress +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse": google_cloud_videointelligence_v1p3beta1_annotate_video_response +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse/annotationResults": annotation_results +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse/annotationResults/annotation_result": annotation_result +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_Entity": google_cloud_videointelligence_v1p3beta1_entity +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_Entity/description": description +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_Entity/entityId": entity_id +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_Entity/languageCode": language_code +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation": google_cloud_videointelligence_v1p3beta1_explicit_content_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation/frames": frames +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation/frames/frame": frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p3beta1_explicit_content_frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation": google_cloud_videointelligence_v1p3beta1_label_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities": category_entities +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities/category_entity": category_entity +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/entity": entity +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/frames": frames +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/frames/frame": frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/segments": segments +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/segments/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelFrame": google_cloud_videointelligence_v1p3beta1_label_frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelFrame/confidence": confidence +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelSegment": google_cloud_videointelligence_v1p3beta1_label_segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelSegment/confidence": confidence +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelSegment/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox": google_cloud_videointelligence_v1p3beta1_normalized_bounding_box +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox/bottom": bottom +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox/left": left +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox/right": right +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox/top": top +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly": google_cloud_videointelligence_v1p3beta1_normalized_bounding_poly +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly/vertices": vertices +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly/vertices/vertex": vertex +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex": google_cloud_videointelligence_v1p3beta1_normalized_vertex +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex/x": x +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex/y": y +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation": google_cloud_videointelligence_v1p3beta1_object_tracking_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation/confidence": confidence +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation/entity": entity +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation/frames": frames +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation/frames/frame": frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation/trackId": track_id +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame": google_cloud_videointelligence_v1p3beta1_object_tracking_frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative": google_cloud_videointelligence_v1p3beta1_speech_recognition_alternative +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative/confidence": confidence +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative/transcript": transcript +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative/words": words +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative/words/word": word +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription": google_cloud_videointelligence_v1p3beta1_speech_transcription +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription/alternatives": alternatives +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription/alternatives/alternative": alternative +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription/languageCode": language_code +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse": google_cloud_videointelligence_v1p3beta1_streaming_annotate_video_response +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse/annotationResults": annotation_results +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse/annotationResultsUri": annotation_results_uri +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse/error": error +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults": google_cloud_videointelligence_v1p3beta1_streaming_video_annotation_results +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations": label_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations/label_annotation": label_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/objectAnnotations": object_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/objectAnnotations/object_annotation": object_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/shotAnnotations": shot_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/shotAnnotations/shot_annotation": shot_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextAnnotation": google_cloud_videointelligence_v1p3beta1_text_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextAnnotation/segments": segments +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextAnnotation/segments/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextAnnotation/text": text +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextFrame": google_cloud_videointelligence_v1p3beta1_text_frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextFrame/rotatedBoundingBox": rotated_bounding_box +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextSegment": google_cloud_videointelligence_v1p3beta1_text_segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextSegment/confidence": confidence +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextSegment/frames": frames +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextSegment/frames/frame": frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_TextSegment/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1p3beta1_video_annotation_progress +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress/inputUri": input_uri +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress/progressPercent": progress_percent +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress/startTime": start_time +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress/updateTime": update_time +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p3beta1_video_annotation_results +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/error": error +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/frameLabelAnnotations": frame_label_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation": frame_label_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/inputUri": input_uri +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/objectAnnotations": object_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations +? "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation" +: segment_label_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/shotAnnotations": shot_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/shotAnnotations/shot_annotation": shot_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/shotLabelAnnotations": shot_label_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/shotLabelAnnotations/shot_label_annotation": shot_label_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/speechTranscriptions": speech_transcriptions +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/speechTranscriptions/speech_transcription": speech_transcription +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/textAnnotations": text_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/textAnnotations/text_annotation": text_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoSegment": google_cloud_videointelligence_v1p3beta1_video_segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoSegment/endTimeOffset": end_time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoSegment/startTimeOffset": start_time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo": google_cloud_videointelligence_v1p3beta1_word_info +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/confidence": confidence +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/endTime": end_time +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/speakerTag": speaker_tag +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/startTime": start_time +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/word": word "/videointelligence:v1/GoogleCloudVideointelligenceV2beta1_AnnotateVideoProgress": google_cloud_videointelligence_v2beta1_annotate_video_progress "/videointelligence:v1/GoogleCloudVideointelligenceV2beta1_AnnotateVideoProgress/annotationProgress": annotation_progress "/videointelligence:v1/GoogleCloudVideointelligenceV2beta1_AnnotateVideoProgress/annotationProgress/annotation_progress": annotation_progress diff --git a/generated/google/apis/analyticsreporting_v4.rb b/generated/google/apis/analyticsreporting_v4.rb index 11c5fe048..ea6bd15f0 100644 --- a/generated/google/apis/analyticsreporting_v4.rb +++ b/generated/google/apis/analyticsreporting_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/analytics/devguides/reporting/core/v4/ module AnalyticsreportingV4 VERSION = 'V4' - REVISION = '20180725' + REVISION = '20190313' # View and manage your Google Analytics data AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb index 5621554e2..adc3bc9c2 100644 --- a/generated/google/apis/bigquerydatatransfer_v1.rb +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigquerydatatransferV1 VERSION = 'V1' - REVISION = '20190223' + REVISION = '20190309' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb index 642bcd4a4..c57e11202 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/classes.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -603,14 +603,14 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -853,14 +853,14 @@ module Google # @return [String] attr_accessor :end_time - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing diff --git a/generated/google/apis/cloudbilling_v1.rb b/generated/google/apis/cloudbilling_v1.rb index 2a7a82633..2ae056932 100644 --- a/generated/google/apis/cloudbilling_v1.rb +++ b/generated/google/apis/cloudbilling_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/billing/ module CloudbillingV1 VERSION = 'V1' - REVISION = '20190114' + REVISION = '20190310' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudbilling_v1/classes.rb b/generated/google/apis/cloudbilling_v1/classes.rb index 8c5311045..2b38e3207 100644 --- a/generated/google/apis/cloudbilling_v1/classes.rb +++ b/generated/google/apis/cloudbilling_v1/classes.rb @@ -244,7 +244,7 @@ module Google # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the + # * `domain:`domain``: The G Suite domain (primary) that represents all the # users of that domain. For example, `google.com` or `example.com`. # Corresponds to the JSON property `members` # @return [Array] diff --git a/generated/google/apis/cloudsearch_v1.rb b/generated/google/apis/cloudsearch_v1.rb index e4e3d8b83..e86d4d06f 100644 --- a/generated/google/apis/cloudsearch_v1.rb +++ b/generated/google/apis/cloudsearch_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://gsuite.google.com/products/cloud-search/ module CloudsearchV1 VERSION = 'V1' - REVISION = '20190227' + REVISION = '20190305' # Index and serve your organization's data with Cloud Search AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search' diff --git a/generated/google/apis/cloudsearch_v1/classes.rb b/generated/google/apis/cloudsearch_v1/classes.rb index f5dd417c3..988a89c72 100644 --- a/generated/google/apis/cloudsearch_v1/classes.rb +++ b/generated/google/apis/cloudsearch_v1/classes.rb @@ -1710,7 +1710,8 @@ module Google # List of principals who are allowed to see the item in search results. # Optional if inheriting permissions from another item or if the item # is not intended to be visible, such as - # virtual containers. + # virtual + # containers. # The maximum number of elements is 1000. # Corresponds to the JSON property `readers` # @return [Array] @@ -3641,7 +3642,7 @@ module Google attr_accessor :object_definitions # IDs of the Long Running Operations (LROs) currently running for this - # schema. After modifying the schema, wait for opeations to complete + # schema. After modifying the schema, wait for operations to complete # before indexing additional content. # Corresponds to the JSON property `operationIds` # @return [Array] diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 32ebf0269..1c7623f46 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20190219' + REVISION = '20190311' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 757c026ec..b0d1fdf21 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -1980,14 +1980,14 @@ module Google # @return [String] attr_accessor :response_id - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -4605,14 +4605,14 @@ module Google attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -4708,14 +4708,14 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 3aed0a969..27d391635 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2 VERSION = 'V2' - REVISION = '20190307' + REVISION = '20190312' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb index e5170b5cc..b07fddcaa 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -2054,14 +2054,14 @@ module Google class GooglePrivacyDlpV2Error include Google::Apis::Core::Hashable - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -5848,14 +5848,14 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing diff --git a/generated/google/apis/dns_v1.rb b/generated/google/apis/dns_v1.rb index 55627003e..b50af2a9d 100644 --- a/generated/google/apis/dns_v1.rb +++ b/generated/google/apis/dns_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1 VERSION = 'V1' - REVISION = '20190213' + REVISION = '20190312' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dns_v1/classes.rb b/generated/google/apis/dns_v1/classes.rb index e81a3c194..1d7fd1a07 100644 --- a/generated/google/apis/dns_v1/classes.rb +++ b/generated/google/apis/dns_v1/classes.rb @@ -350,6 +350,16 @@ module Google # @return [Array] attr_accessor :name_servers + # + # Corresponds to the JSON property `privateVisibilityConfig` + # @return [Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig] + attr_accessor :private_visibility_config + + # + # Corresponds to the JSON property `visibility` + # @return [String] + attr_accessor :visibility + def initialize(**args) update!(**args) end @@ -366,6 +376,8 @@ module Google @name = args[:name] if args.key?(:name) @name_server_set = args[:name_server_set] if args.key?(:name_server_set) @name_servers = args[:name_servers] if args.key?(:name_servers) + @private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config) + @visibility = args[:visibility] if args.key?(:visibility) end end @@ -444,6 +456,58 @@ module Google end end + # + class ManagedZonePrivateVisibilityConfig + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "dns# + # managedZonePrivateVisibilityConfig". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # + # Corresponds to the JSON property `networks` + # @return [Array] + attr_accessor :networks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @networks = args[:networks] if args.key?(:networks) + end + end + + # + class ManagedZonePrivateVisibilityConfigNetwork + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "dns# + # managedZonePrivateVisibilityConfigNetwork". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # + # Corresponds to the JSON property `networkUrl` + # @return [String] + attr_accessor :network_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @network_url = args[:network_url] if args.key?(:network_url) + end + end + # class ListManagedZonesResponse include Google::Apis::Core::Hashable @@ -650,6 +714,16 @@ module Google # @return [Fixnum] attr_accessor :managed_zones + # + # Corresponds to the JSON property `managedZonesPerNetwork` + # @return [Fixnum] + attr_accessor :managed_zones_per_network + + # + # Corresponds to the JSON property `networksPerManagedZone` + # @return [Fixnum] + attr_accessor :networks_per_managed_zone + # # Corresponds to the JSON property `resourceRecordsPerRrset` # @return [Fixnum] @@ -689,6 +763,8 @@ module Google @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone) @kind = args[:kind] if args.key?(:kind) @managed_zones = args[:managed_zones] if args.key?(:managed_zones) + @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network) + @networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone) @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset) @rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change) @rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change) diff --git a/generated/google/apis/dns_v1/representations.rb b/generated/google/apis/dns_v1/representations.rb index d3c062f76..f718c5f23 100644 --- a/generated/google/apis/dns_v1/representations.rb +++ b/generated/google/apis/dns_v1/representations.rb @@ -76,6 +76,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ManagedZonePrivateVisibilityConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedZonePrivateVisibilityConfigNetwork + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListManagedZonesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -219,6 +231,9 @@ module Google property :name, as: 'name' property :name_server_set, as: 'nameServerSet' collection :name_servers, as: 'nameServers' + property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig::Representation + + property :visibility, as: 'visibility' end end @@ -245,6 +260,23 @@ module Google end end + class ManagedZonePrivateVisibilityConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :networks, as: 'networks', class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfigNetwork, decorator: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfigNetwork::Representation + + end + end + + class ManagedZonePrivateVisibilityConfigNetwork + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :network_url, as: 'networkUrl' + end + end + class ListManagedZonesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -310,6 +342,8 @@ module Google property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone' property :kind, as: 'kind' property :managed_zones, as: 'managedZones' + property :managed_zones_per_network, as: 'managedZonesPerNetwork' + property :networks_per_managed_zone, as: 'networksPerManagedZone' property :resource_records_per_rrset, as: 'resourceRecordsPerRrset' property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange' property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange' diff --git a/generated/google/apis/dns_v2beta1.rb b/generated/google/apis/dns_v2beta1.rb index 1bda1afd3..d3b65d56c 100644 --- a/generated/google/apis/dns_v2beta1.rb +++ b/generated/google/apis/dns_v2beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV2beta1 VERSION = 'V2beta1' - REVISION = '20190213' + REVISION = '20190312' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dns_v2beta1/classes.rb b/generated/google/apis/dns_v2beta1/classes.rb index 157a8ed84..cb5c01c7b 100644 --- a/generated/google/apis/dns_v2beta1/classes.rb +++ b/generated/google/apis/dns_v2beta1/classes.rb @@ -350,6 +350,16 @@ module Google # @return [Array] attr_accessor :name_servers + # + # Corresponds to the JSON property `privateVisibilityConfig` + # @return [Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig] + attr_accessor :private_visibility_config + + # + # Corresponds to the JSON property `visibility` + # @return [String] + attr_accessor :visibility + def initialize(**args) update!(**args) end @@ -366,6 +376,8 @@ module Google @name = args[:name] if args.key?(:name) @name_server_set = args[:name_server_set] if args.key?(:name_server_set) @name_servers = args[:name_servers] if args.key?(:name_servers) + @private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config) + @visibility = args[:visibility] if args.key?(:visibility) end end @@ -444,6 +456,58 @@ module Google end end + # + class ManagedZonePrivateVisibilityConfig + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "dns# + # managedZonePrivateVisibilityConfig". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # + # Corresponds to the JSON property `networks` + # @return [Array] + attr_accessor :networks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @networks = args[:networks] if args.key?(:networks) + end + end + + # + class ManagedZonePrivateVisibilityConfigNetwork + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "dns# + # managedZonePrivateVisibilityConfigNetwork". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # + # Corresponds to the JSON property `networkUrl` + # @return [String] + attr_accessor :network_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @network_url = args[:network_url] if args.key?(:network_url) + end + end + # class ManagedZonesListResponse include Google::Apis::Core::Hashable @@ -650,6 +714,16 @@ module Google # @return [Fixnum] attr_accessor :managed_zones + # + # Corresponds to the JSON property `managedZonesPerNetwork` + # @return [Fixnum] + attr_accessor :managed_zones_per_network + + # + # Corresponds to the JSON property `networksPerManagedZone` + # @return [Fixnum] + attr_accessor :networks_per_managed_zone + # # Corresponds to the JSON property `resourceRecordsPerRrset` # @return [Fixnum] @@ -689,6 +763,8 @@ module Google @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone) @kind = args[:kind] if args.key?(:kind) @managed_zones = args[:managed_zones] if args.key?(:managed_zones) + @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network) + @networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone) @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset) @rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change) @rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change) diff --git a/generated/google/apis/dns_v2beta1/representations.rb b/generated/google/apis/dns_v2beta1/representations.rb index 7f26b2d91..b0454568a 100644 --- a/generated/google/apis/dns_v2beta1/representations.rb +++ b/generated/google/apis/dns_v2beta1/representations.rb @@ -76,6 +76,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ManagedZonePrivateVisibilityConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedZonePrivateVisibilityConfigNetwork + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ManagedZonesListResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -219,6 +231,9 @@ module Google property :name, as: 'name' property :name_server_set, as: 'nameServerSet' collection :name_servers, as: 'nameServers' + property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig::Representation + + property :visibility, as: 'visibility' end end @@ -245,6 +260,23 @@ module Google end end + class ManagedZonePrivateVisibilityConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :networks, as: 'networks', class: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfigNetwork, decorator: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfigNetwork::Representation + + end + end + + class ManagedZonePrivateVisibilityConfigNetwork + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :network_url, as: 'networkUrl' + end + end + class ManagedZonesListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -310,6 +342,8 @@ module Google property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone' property :kind, as: 'kind' property :managed_zones, as: 'managedZones' + property :managed_zones_per_network, as: 'managedZonesPerNetwork' + property :networks_per_managed_zone, as: 'networksPerManagedZone' property :resource_records_per_rrset, as: 'resourceRecordsPerRrset' property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange' property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange' diff --git a/generated/google/apis/oauth2_v1.rb b/generated/google/apis/oauth2_v1.rb index 003a4aa72..2162b3aa8 100644 --- a/generated/google/apis/oauth2_v1.rb +++ b/generated/google/apis/oauth2_v1.rb @@ -36,7 +36,7 @@ module Google # View your email address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' - # View your basic profile info + # See your personal info, including any personal info you've made publically available AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' end end diff --git a/generated/google/apis/oauth2_v2.rb b/generated/google/apis/oauth2_v2.rb index b4ecf0365..106ebeebb 100644 --- a/generated/google/apis/oauth2_v2.rb +++ b/generated/google/apis/oauth2_v2.rb @@ -36,7 +36,7 @@ module Google # View your email address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' - # View your basic profile info + # See your personal info, including any personal info you've made publically available AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' end end diff --git a/generated/google/apis/plus_domains_v1.rb b/generated/google/apis/plus_domains_v1.rb deleted file mode 100644 index 6bbd6758c..000000000 --- a/generated/google/apis/plus_domains_v1.rb +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'google/apis/plus_domains_v1/service.rb' -require 'google/apis/plus_domains_v1/classes.rb' -require 'google/apis/plus_domains_v1/representations.rb' - -module Google - module Apis - # Google+ Domains API - # - # Builds on top of the Google+ platform for Google Apps Domains. - # - # @see https://developers.google.com/+/domains/ - module PlusDomainsV1 - VERSION = 'V1' - REVISION = '20190218' - - # View your circles and the people and pages in them - AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read' - - # Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you. - AUTH_PLUS_CIRCLES_WRITE = 'https://www.googleapis.com/auth/plus.circles.write' - - # View your basic profile info, including your age range and language - AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' - - # Know who you are on Google - AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me' - - # Send your photos and videos to Google+ - AUTH_PLUS_MEDIA_UPLOAD = 'https://www.googleapis.com/auth/plus.media.upload' - - # View your own Google+ profile and profiles visible to you - AUTH_PLUS_PROFILES_READ = 'https://www.googleapis.com/auth/plus.profiles.read' - - # View your Google+ posts, comments, and stream - AUTH_PLUS_STREAM_READ = 'https://www.googleapis.com/auth/plus.stream.read' - - # Manage your Google+ posts, comments, and stream - AUTH_PLUS_STREAM_WRITE = 'https://www.googleapis.com/auth/plus.stream.write' - - # View your email address - AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' - - # View your basic profile info - AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' - end - end -end diff --git a/generated/google/apis/plus_domains_v1/classes.rb b/generated/google/apis/plus_domains_v1/classes.rb deleted file mode 100644 index 26d88827f..000000000 --- a/generated/google/apis/plus_domains_v1/classes.rb +++ /dev/null @@ -1,2609 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'date' -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module PlusDomainsV1 - - # - class Acl - include Google::Apis::Core::Hashable - - # Description of the access granted, suitable for display. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Whether access is restricted to the domain. - # Corresponds to the JSON property `domainRestricted` - # @return [Boolean] - attr_accessor :domain_restricted - alias_method :domain_restricted?, :domain_restricted - - # The list of access entries. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Identifies this resource as a collection of access controls. Value: "plus#acl". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @domain_restricted = args[:domain_restricted] if args.key?(:domain_restricted) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - end - end - - # - class Activity - include Google::Apis::Core::Hashable - - # Identifies who has access to see this activity. - # Corresponds to the JSON property `access` - # @return [Google::Apis::PlusDomainsV1::Acl] - attr_accessor :access - - # The person who performed this activity. - # Corresponds to the JSON property `actor` - # @return [Google::Apis::PlusDomainsV1::Activity::Actor] - attr_accessor :actor - - # Street address where this activity occurred. - # Corresponds to the JSON property `address` - # @return [String] - attr_accessor :address - - # Additional content added by the person who shared this activity, applicable - # only when resharing an activity. - # Corresponds to the JSON property `annotation` - # @return [String] - attr_accessor :annotation - - # If this activity is a crosspost from another system, this property specifies - # the ID of the original activity. - # Corresponds to the JSON property `crosspostSource` - # @return [String] - attr_accessor :crosspost_source - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # Latitude and longitude where this activity occurred. Format is latitude - # followed by longitude, space separated. - # Corresponds to the JSON property `geocode` - # @return [String] - attr_accessor :geocode - - # The ID of this activity. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Identifies this resource as an activity. Value: "plus#activity". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The location where this activity occurred. - # Corresponds to the JSON property `location` - # @return [Google::Apis::PlusDomainsV1::Place] - attr_accessor :location - - # The object of this activity. - # Corresponds to the JSON property `object` - # @return [Google::Apis::PlusDomainsV1::Activity::Object] - attr_accessor :object - - # ID of the place where this activity occurred. - # Corresponds to the JSON property `placeId` - # @return [String] - attr_accessor :place_id - - # Name of the place where this activity occurred. - # Corresponds to the JSON property `placeName` - # @return [String] - attr_accessor :place_name - - # The service provider that initially published this activity. - # Corresponds to the JSON property `provider` - # @return [Google::Apis::PlusDomainsV1::Activity::Provider] - attr_accessor :provider - - # The time at which this activity was initially published. Formatted as an RFC - # 3339 timestamp. - # Corresponds to the JSON property `published` - # @return [DateTime] - attr_accessor :published - - # Radius, in meters, of the region where this activity occurred, centered at the - # latitude and longitude identified in geocode. - # Corresponds to the JSON property `radius` - # @return [String] - attr_accessor :radius - - # Title of this activity. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The time at which this activity was last updated. Formatted as an RFC 3339 - # timestamp. - # Corresponds to the JSON property `updated` - # @return [DateTime] - attr_accessor :updated - - # The link to this activity. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # This activity's verb, which indicates the action that was performed. Possible - # values include, but are not limited to, the following values: - # - "post" - Publish content to the stream. - # - "share" - Reshare an activity. - # Corresponds to the JSON property `verb` - # @return [String] - attr_accessor :verb - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @access = args[:access] if args.key?(:access) - @actor = args[:actor] if args.key?(:actor) - @address = args[:address] if args.key?(:address) - @annotation = args[:annotation] if args.key?(:annotation) - @crosspost_source = args[:crosspost_source] if args.key?(:crosspost_source) - @etag = args[:etag] if args.key?(:etag) - @geocode = args[:geocode] if args.key?(:geocode) - @id = args[:id] if args.key?(:id) - @kind = args[:kind] if args.key?(:kind) - @location = args[:location] if args.key?(:location) - @object = args[:object] if args.key?(:object) - @place_id = args[:place_id] if args.key?(:place_id) - @place_name = args[:place_name] if args.key?(:place_name) - @provider = args[:provider] if args.key?(:provider) - @published = args[:published] if args.key?(:published) - @radius = args[:radius] if args.key?(:radius) - @title = args[:title] if args.key?(:title) - @updated = args[:updated] if args.key?(:updated) - @url = args[:url] if args.key?(:url) - @verb = args[:verb] if args.key?(:verb) - end - - # The person who performed this activity. - class Actor - include Google::Apis::Core::Hashable - - # Actor info specific to particular clients. - # Corresponds to the JSON property `clientSpecificActorInfo` - # @return [Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo] - attr_accessor :client_specific_actor_info - - # The name of the actor, suitable for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The ID of the actor's Person resource. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The image representation of the actor. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusDomainsV1::Activity::Actor::Image] - attr_accessor :image - - # An object representation of the individual components of name. - # Corresponds to the JSON property `name` - # @return [Google::Apis::PlusDomainsV1::Activity::Actor::Name] - attr_accessor :name - - # The link to the actor's Google profile. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Verification status of actor. - # Corresponds to the JSON property `verification` - # @return [Google::Apis::PlusDomainsV1::Activity::Actor::Verification] - attr_accessor :verification - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @name = args[:name] if args.key?(:name) - @url = args[:url] if args.key?(:url) - @verification = args[:verification] if args.key?(:verification) - end - - # Actor info specific to particular clients. - class ClientSpecificActorInfo - include Google::Apis::Core::Hashable - - # Actor info specific to YouTube clients. - # Corresponds to the JSON property `youtubeActorInfo` - # @return [Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo] - attr_accessor :youtube_actor_info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info) - end - - # Actor info specific to YouTube clients. - class YoutubeActorInfo - include Google::Apis::Core::Hashable - - # ID of the YouTube channel owned by the Actor. - # Corresponds to the JSON property `channelId` - # @return [String] - attr_accessor :channel_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @channel_id = args[:channel_id] if args.key?(:channel_id) - end - end - end - - # The image representation of the actor. - class Image - include Google::Apis::Core::Hashable - - # The URL of the actor's profile photo. To resize the image and crop it to a - # square, append the query string ?sz=x, where x is the dimension in pixels of - # each side. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - end - end - - # An object representation of the individual components of name. - class Name - include Google::Apis::Core::Hashable - - # The family name ("last name") of the actor. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # The given name ("first name") of the actor. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @family_name = args[:family_name] if args.key?(:family_name) - @given_name = args[:given_name] if args.key?(:given_name) - end - end - - # Verification status of actor. - class Verification - include Google::Apis::Core::Hashable - - # Verification for one-time or manual processes. - # Corresponds to the JSON property `adHocVerified` - # @return [String] - attr_accessor :ad_hoc_verified - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified) - end - end - end - - # The object of this activity. - class Object - include Google::Apis::Core::Hashable - - # If this activity's object is itself another activity, such as when a person - # reshares an activity, this property specifies the original activity's actor. - # Corresponds to the JSON property `actor` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor] - attr_accessor :actor - - # The media objects attached to this activity. - # Corresponds to the JSON property `attachments` - # @return [Array] - attr_accessor :attachments - - # The HTML-formatted content, which is suitable for display. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # The ID of the object. When resharing an activity, this is the ID of the - # activity that is being reshared. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The type of the object. Possible values include, but are not limited to, the - # following values: - # - "note" - Textual content. - # - "activity" - A Google+ activity. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - # The content (text) as provided by the author, which is stored without any HTML - # formatting. When creating or updating an activity, this value must be supplied - # as plain text in the request. - # Corresponds to the JSON property `originalContent` - # @return [String] - attr_accessor :original_content - - # People who +1'd this activity. - # Corresponds to the JSON property `plusoners` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Plusoners] - attr_accessor :plusoners - - # Comments in reply to this activity. - # Corresponds to the JSON property `replies` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Replies] - attr_accessor :replies - - # People who reshared this activity. - # Corresponds to the JSON property `resharers` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Resharers] - attr_accessor :resharers - - # Status of the activity as seen by the viewer. - # Corresponds to the JSON property `statusForViewer` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::StatusForViewer] - attr_accessor :status_for_viewer - - # The URL that points to the linked resource. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @actor = args[:actor] if args.key?(:actor) - @attachments = args[:attachments] if args.key?(:attachments) - @content = args[:content] if args.key?(:content) - @id = args[:id] if args.key?(:id) - @object_type = args[:object_type] if args.key?(:object_type) - @original_content = args[:original_content] if args.key?(:original_content) - @plusoners = args[:plusoners] if args.key?(:plusoners) - @replies = args[:replies] if args.key?(:replies) - @resharers = args[:resharers] if args.key?(:resharers) - @status_for_viewer = args[:status_for_viewer] if args.key?(:status_for_viewer) - @url = args[:url] if args.key?(:url) - end - - # If this activity's object is itself another activity, such as when a person - # reshares an activity, this property specifies the original activity's actor. - class Actor - include Google::Apis::Core::Hashable - - # Actor info specific to particular clients. - # Corresponds to the JSON property `clientSpecificActorInfo` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo] - attr_accessor :client_specific_actor_info - - # The original actor's name, which is suitable for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # ID of the original actor. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The image representation of the original actor. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::Image] - attr_accessor :image - - # A link to the original actor's Google profile. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Verification status of actor. - # Corresponds to the JSON property `verification` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::Verification] - attr_accessor :verification - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @url = args[:url] if args.key?(:url) - @verification = args[:verification] if args.key?(:verification) - end - - # Actor info specific to particular clients. - class ClientSpecificActorInfo - include Google::Apis::Core::Hashable - - # Actor info specific to YouTube clients. - # Corresponds to the JSON property `youtubeActorInfo` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo] - attr_accessor :youtube_actor_info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info) - end - - # Actor info specific to YouTube clients. - class YoutubeActorInfo - include Google::Apis::Core::Hashable - - # ID of the YouTube channel owned by the Actor. - # Corresponds to the JSON property `channelId` - # @return [String] - attr_accessor :channel_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @channel_id = args[:channel_id] if args.key?(:channel_id) - end - end - end - - # The image representation of the original actor. - class Image - include Google::Apis::Core::Hashable - - # A URL that points to a thumbnail photo of the original actor. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - end - end - - # Verification status of actor. - class Verification - include Google::Apis::Core::Hashable - - # Verification for one-time or manual processes. - # Corresponds to the JSON property `adHocVerified` - # @return [String] - attr_accessor :ad_hoc_verified - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified) - end - end - end - - # - class Attachment - include Google::Apis::Core::Hashable - - # If the attachment is an article, this property contains a snippet of text from - # the article. It can also include descriptions for other types. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # The title of the attachment, such as a photo caption or an article title. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # If the attachment is a video, the embeddable link. - # Corresponds to the JSON property `embed` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Embed] - attr_accessor :embed - - # The full image URL for photo attachments. - # Corresponds to the JSON property `fullImage` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::FullImage] - attr_accessor :full_image - - # The ID of the attachment. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The preview image for photos or videos. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Image] - attr_accessor :image - - # The type of media object. Possible values include, but are not limited to, the - # following values: - # - "photo" - A photo. - # - "album" - A photo album. - # - "video" - A video. - # - "article" - An article, specified by a link. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - # When previewing, these are the optional thumbnails for the post. When posting - # an article, choose one by setting the attachment.image.url property. If you - # don't choose one, one will be chosen for you. - # Corresponds to the JSON property `previewThumbnails` - # @return [Array] - attr_accessor :preview_thumbnails - - # If the attachment is an album, this property is a list of potential additional - # thumbnails from the album. - # Corresponds to the JSON property `thumbnails` - # @return [Array] - attr_accessor :thumbnails - - # The link to the attachment, which should be of type text/html. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content = args[:content] if args.key?(:content) - @display_name = args[:display_name] if args.key?(:display_name) - @embed = args[:embed] if args.key?(:embed) - @full_image = args[:full_image] if args.key?(:full_image) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @object_type = args[:object_type] if args.key?(:object_type) - @preview_thumbnails = args[:preview_thumbnails] if args.key?(:preview_thumbnails) - @thumbnails = args[:thumbnails] if args.key?(:thumbnails) - @url = args[:url] if args.key?(:url) - end - - # If the attachment is a video, the embeddable link. - class Embed - include Google::Apis::Core::Hashable - - # Media type of the link. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # URL of the link. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @url = args[:url] if args.key?(:url) - end - end - - # The full image URL for photo attachments. - class FullImage - include Google::Apis::Core::Hashable - - # The height, in pixels, of the linked resource. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # Media type of the link. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # URL of the image. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The width, in pixels, of the linked resource. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @type = args[:type] if args.key?(:type) - @url = args[:url] if args.key?(:url) - @width = args[:width] if args.key?(:width) - end - end - - # The preview image for photos or videos. - class Image - include Google::Apis::Core::Hashable - - # The height, in pixels, of the linked resource. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # Media type of the link. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Image URL. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The width, in pixels, of the linked resource. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @type = args[:type] if args.key?(:type) - @url = args[:url] if args.key?(:url) - @width = args[:width] if args.key?(:width) - end - end - - # - class PreviewThumbnail - include Google::Apis::Core::Hashable - - # URL of the thumbnail image. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - end - end - - # - class Thumbnail - include Google::Apis::Core::Hashable - - # Potential name of the thumbnail. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Image resource. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail::Image] - attr_accessor :image - - # URL of the webpage containing the image. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @image = args[:image] if args.key?(:image) - @url = args[:url] if args.key?(:url) - end - - # Image resource. - class Image - include Google::Apis::Core::Hashable - - # The height, in pixels, of the linked resource. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # Media type of the link. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Image url. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The width, in pixels, of the linked resource. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @type = args[:type] if args.key?(:type) - @url = args[:url] if args.key?(:url) - @width = args[:width] if args.key?(:width) - end - end - end - end - - # People who +1'd this activity. - class Plusoners - include Google::Apis::Core::Hashable - - # The URL for the collection of people who +1'd this activity. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # Total number of people who +1'd this activity. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @self_link = args[:self_link] if args.key?(:self_link) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - - # Comments in reply to this activity. - class Replies - include Google::Apis::Core::Hashable - - # The URL for the collection of comments in reply to this activity. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # Total number of comments on this activity. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @self_link = args[:self_link] if args.key?(:self_link) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - - # People who reshared this activity. - class Resharers - include Google::Apis::Core::Hashable - - # The URL for the collection of resharers. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # Total number of people who reshared this activity. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @self_link = args[:self_link] if args.key?(:self_link) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - - # Status of the activity as seen by the viewer. - class StatusForViewer - include Google::Apis::Core::Hashable - - # Whether the viewer can comment on the activity. - # Corresponds to the JSON property `canComment` - # @return [Boolean] - attr_accessor :can_comment - alias_method :can_comment?, :can_comment - - # Whether the viewer can +1 the activity. - # Corresponds to the JSON property `canPlusone` - # @return [Boolean] - attr_accessor :can_plusone - alias_method :can_plusone?, :can_plusone - - # Whether the viewer can edit or delete the activity. - # Corresponds to the JSON property `canUpdate` - # @return [Boolean] - attr_accessor :can_update - alias_method :can_update?, :can_update - - # Whether the viewer has +1'd the activity. - # Corresponds to the JSON property `isPlusOned` - # @return [Boolean] - attr_accessor :is_plus_oned - alias_method :is_plus_oned?, :is_plus_oned - - # Whether reshares are disabled for the activity. - # Corresponds to the JSON property `resharingDisabled` - # @return [Boolean] - attr_accessor :resharing_disabled - alias_method :resharing_disabled?, :resharing_disabled - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @can_comment = args[:can_comment] if args.key?(:can_comment) - @can_plusone = args[:can_plusone] if args.key?(:can_plusone) - @can_update = args[:can_update] if args.key?(:can_update) - @is_plus_oned = args[:is_plus_oned] if args.key?(:is_plus_oned) - @resharing_disabled = args[:resharing_disabled] if args.key?(:resharing_disabled) - end - end - end - - # The service provider that initially published this activity. - class Provider - include Google::Apis::Core::Hashable - - # Name of the service provider. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @title = args[:title] if args.key?(:title) - end - end - end - - # - class ActivityFeed - include Google::Apis::Core::Hashable - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The ID of this collection of activities. Deprecated. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The activities in this page of results. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Identifies this resource as a collection of activities. Value: "plus# - # activityFeed". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Link to the next page of activities. - # Corresponds to the JSON property `nextLink` - # @return [String] - attr_accessor :next_link - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Link to this activity resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # The title of this collection of activities, which is a truncated portion of - # the content. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The time at which this collection of activities was last updated. Formatted as - # an RFC 3339 timestamp. - # Corresponds to the JSON property `updated` - # @return [DateTime] - attr_accessor :updated - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_link = args[:next_link] if args.key?(:next_link) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @self_link = args[:self_link] if args.key?(:self_link) - @title = args[:title] if args.key?(:title) - @updated = args[:updated] if args.key?(:updated) - end - end - - # - class Audience - include Google::Apis::Core::Hashable - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The access control list entry. - # Corresponds to the JSON property `item` - # @return [Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource] - attr_accessor :item - - # Identifies this resource as an audience. Value: "plus#audience". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The number of people in this circle. This only applies if entity_type is - # CIRCLE. - # Corresponds to the JSON property `memberCount` - # @return [Fixnum] - attr_accessor :member_count - - # The circle members' visibility as chosen by the owner of the circle. This only - # applies for items with "item.type" equals "circle". Possible values are: - # - "public" - Members are visible to the public. - # - "limited" - Members are visible to a limited audience. - # - "private" - Members are visible to the owner only. - # Corresponds to the JSON property `visibility` - # @return [String] - attr_accessor :visibility - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @item = args[:item] if args.key?(:item) - @kind = args[:kind] if args.key?(:kind) - @member_count = args[:member_count] if args.key?(:member_count) - @visibility = args[:visibility] if args.key?(:visibility) - end - end - - # - class AudiencesFeed - include Google::Apis::Core::Hashable - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The audiences in this result. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Identifies this resource as a collection of audiences. Value: "plus# - # audienceFeed". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The total number of ACL entries. The number of entries in this response may be - # smaller due to paging. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - - # - class Circle - include Google::Apis::Core::Hashable - - # The description of this circle. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The circle name. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The ID of the circle. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Identifies this resource as a circle. Value: "plus#circle". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The people in this circle. - # Corresponds to the JSON property `people` - # @return [Google::Apis::PlusDomainsV1::Circle::People] - attr_accessor :people - - # Link to this circle resource - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @display_name = args[:display_name] if args.key?(:display_name) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @kind = args[:kind] if args.key?(:kind) - @people = args[:people] if args.key?(:people) - @self_link = args[:self_link] if args.key?(:self_link) - end - - # The people in this circle. - class People - include Google::Apis::Core::Hashable - - # The total number of people in this circle. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - end - - # - class CircleFeed - include Google::Apis::Core::Hashable - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The circles in this page of results. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Identifies this resource as a collection of circles. Value: "plus#circleFeed". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Link to the next page of circles. - # Corresponds to the JSON property `nextLink` - # @return [String] - attr_accessor :next_link - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Link to this page of circles. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # The title of this list of resources. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The total number of circles. The number of circles in this response may be - # smaller due to paging. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_link = args[:next_link] if args.key?(:next_link) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @self_link = args[:self_link] if args.key?(:self_link) - @title = args[:title] if args.key?(:title) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - - # - class Comment - include Google::Apis::Core::Hashable - - # The person who posted this comment. - # Corresponds to the JSON property `actor` - # @return [Google::Apis::PlusDomainsV1::Comment::Actor] - attr_accessor :actor - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The ID of this comment. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The activity this comment replied to. - # Corresponds to the JSON property `inReplyTo` - # @return [Array] - attr_accessor :in_reply_to - - # Identifies this resource as a comment. Value: "plus#comment". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The object of this comment. - # Corresponds to the JSON property `object` - # @return [Google::Apis::PlusDomainsV1::Comment::Object] - attr_accessor :object - - # People who +1'd this comment. - # Corresponds to the JSON property `plusoners` - # @return [Google::Apis::PlusDomainsV1::Comment::Plusoners] - attr_accessor :plusoners - - # The time at which this comment was initially published. Formatted as an RFC - # 3339 timestamp. - # Corresponds to the JSON property `published` - # @return [DateTime] - attr_accessor :published - - # Link to this comment resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # The time at which this comment was last updated. Formatted as an RFC 3339 - # timestamp. - # Corresponds to the JSON property `updated` - # @return [DateTime] - attr_accessor :updated - - # This comment's verb, indicating what action was performed. Possible values are: - # - # - "post" - Publish content to the stream. - # Corresponds to the JSON property `verb` - # @return [String] - attr_accessor :verb - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @actor = args[:actor] if args.key?(:actor) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to) - @kind = args[:kind] if args.key?(:kind) - @object = args[:object] if args.key?(:object) - @plusoners = args[:plusoners] if args.key?(:plusoners) - @published = args[:published] if args.key?(:published) - @self_link = args[:self_link] if args.key?(:self_link) - @updated = args[:updated] if args.key?(:updated) - @verb = args[:verb] if args.key?(:verb) - end - - # The person who posted this comment. - class Actor - include Google::Apis::Core::Hashable - - # Actor info specific to particular clients. - # Corresponds to the JSON property `clientSpecificActorInfo` - # @return [Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo] - attr_accessor :client_specific_actor_info - - # The name of this actor, suitable for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The ID of the actor. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The image representation of this actor. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusDomainsV1::Comment::Actor::Image] - attr_accessor :image - - # A link to the Person resource for this actor. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Verification status of actor. - # Corresponds to the JSON property `verification` - # @return [Google::Apis::PlusDomainsV1::Comment::Actor::Verification] - attr_accessor :verification - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @url = args[:url] if args.key?(:url) - @verification = args[:verification] if args.key?(:verification) - end - - # Actor info specific to particular clients. - class ClientSpecificActorInfo - include Google::Apis::Core::Hashable - - # Actor info specific to YouTube clients. - # Corresponds to the JSON property `youtubeActorInfo` - # @return [Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo] - attr_accessor :youtube_actor_info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info) - end - - # Actor info specific to YouTube clients. - class YoutubeActorInfo - include Google::Apis::Core::Hashable - - # ID of the YouTube channel owned by the Actor. - # Corresponds to the JSON property `channelId` - # @return [String] - attr_accessor :channel_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @channel_id = args[:channel_id] if args.key?(:channel_id) - end - end - end - - # The image representation of this actor. - class Image - include Google::Apis::Core::Hashable - - # The URL of the actor's profile photo. To resize the image and crop it to a - # square, append the query string ?sz=x, where x is the dimension in pixels of - # each side. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - end - end - - # Verification status of actor. - class Verification - include Google::Apis::Core::Hashable - - # Verification for one-time or manual processes. - # Corresponds to the JSON property `adHocVerified` - # @return [String] - attr_accessor :ad_hoc_verified - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified) - end - end - end - - # - class InReplyTo - include Google::Apis::Core::Hashable - - # The ID of the activity. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The URL of the activity. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @url = args[:url] if args.key?(:url) - end - end - - # The object of this comment. - class Object - include Google::Apis::Core::Hashable - - # The HTML-formatted content, suitable for display. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # The object type of this comment. Possible values are: - # - "comment" - A comment in reply to an activity. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - # The content (text) as provided by the author, stored without any HTML - # formatting. When creating or updating a comment, this value must be supplied - # as plain text in the request. - # Corresponds to the JSON property `originalContent` - # @return [String] - attr_accessor :original_content - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content = args[:content] if args.key?(:content) - @object_type = args[:object_type] if args.key?(:object_type) - @original_content = args[:original_content] if args.key?(:original_content) - end - end - - # People who +1'd this comment. - class Plusoners - include Google::Apis::Core::Hashable - - # Total number of people who +1'd this comment. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - end - - # - class CommentFeed - include Google::Apis::Core::Hashable - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The ID of this collection of comments. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The comments in this page of results. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Identifies this resource as a collection of comments. Value: "plus#commentFeed" - # . - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Link to the next page of activities. - # Corresponds to the JSON property `nextLink` - # @return [String] - attr_accessor :next_link - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The title of this collection of comments. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The time at which this collection of comments was last updated. Formatted as - # an RFC 3339 timestamp. - # Corresponds to the JSON property `updated` - # @return [DateTime] - attr_accessor :updated - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_link = args[:next_link] if args.key?(:next_link) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @title = args[:title] if args.key?(:title) - @updated = args[:updated] if args.key?(:updated) - end - end - - # - class Media - include Google::Apis::Core::Hashable - - # The person who uploaded this media. - # Corresponds to the JSON property `author` - # @return [Google::Apis::PlusDomainsV1::Media::Author] - attr_accessor :author - - # The display name for this media. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # Exif information of the media item. - # Corresponds to the JSON property `exif` - # @return [Google::Apis::PlusDomainsV1::Media::Exif] - attr_accessor :exif - - # The height in pixels of the original image. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # ID of this media, which is generated by the API. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The type of resource. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The time at which this media was originally created in UTC. Formatted as an - # RFC 3339 timestamp that matches this example: 2010-11-25T14:30:27.655Z - # Corresponds to the JSON property `mediaCreatedTime` - # @return [DateTime] - attr_accessor :media_created_time - - # The URL of this photo or video's still image. - # Corresponds to the JSON property `mediaUrl` - # @return [String] - attr_accessor :media_url - - # The time at which this media was uploaded. Formatted as an RFC 3339 timestamp. - # Corresponds to the JSON property `published` - # @return [DateTime] - attr_accessor :published - - # The size in bytes of this video. - # Corresponds to the JSON property `sizeBytes` - # @return [Fixnum] - attr_accessor :size_bytes - - # The list of video streams for this video. There might be several different - # streams available for a single video, either Flash or MPEG, of various sizes - # Corresponds to the JSON property `streams` - # @return [Array] - attr_accessor :streams - - # A description, or caption, for this media. - # Corresponds to the JSON property `summary` - # @return [String] - attr_accessor :summary - - # The time at which this media was last updated. This includes changes to media - # metadata. Formatted as an RFC 3339 timestamp. - # Corresponds to the JSON property `updated` - # @return [DateTime] - attr_accessor :updated - - # The URL for the page that hosts this media. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The duration in milliseconds of this video. - # Corresponds to the JSON property `videoDuration` - # @return [Fixnum] - attr_accessor :video_duration - - # The encoding status of this video. Possible values are: - # - "UPLOADING" - Not all the video bytes have been received. - # - "PENDING" - Video not yet processed. - # - "FAILED" - Video processing failed. - # - "READY" - A single video stream is playable. - # - "FINAL" - All video streams are playable. - # Corresponds to the JSON property `videoStatus` - # @return [String] - attr_accessor :video_status - - # The width in pixels of the original image. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @author = args[:author] if args.key?(:author) - @display_name = args[:display_name] if args.key?(:display_name) - @etag = args[:etag] if args.key?(:etag) - @exif = args[:exif] if args.key?(:exif) - @height = args[:height] if args.key?(:height) - @id = args[:id] if args.key?(:id) - @kind = args[:kind] if args.key?(:kind) - @media_created_time = args[:media_created_time] if args.key?(:media_created_time) - @media_url = args[:media_url] if args.key?(:media_url) - @published = args[:published] if args.key?(:published) - @size_bytes = args[:size_bytes] if args.key?(:size_bytes) - @streams = args[:streams] if args.key?(:streams) - @summary = args[:summary] if args.key?(:summary) - @updated = args[:updated] if args.key?(:updated) - @url = args[:url] if args.key?(:url) - @video_duration = args[:video_duration] if args.key?(:video_duration) - @video_status = args[:video_status] if args.key?(:video_status) - @width = args[:width] if args.key?(:width) - end - - # The person who uploaded this media. - class Author - include Google::Apis::Core::Hashable - - # The author's name. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # ID of the author. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The author's Google profile image. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusDomainsV1::Media::Author::Image] - attr_accessor :image - - # A link to the author's Google profile. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @url = args[:url] if args.key?(:url) - end - - # The author's Google profile image. - class Image - include Google::Apis::Core::Hashable - - # The URL of the author's profile photo. To resize the image and crop it to a - # square, append the query string ?sz=x, where x is the dimension in pixels of - # each side. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - end - end - end - - # Exif information of the media item. - class Exif - include Google::Apis::Core::Hashable - - # The time the media was captured. Formatted as an RFC 3339 timestamp. - # Corresponds to the JSON property `time` - # @return [DateTime] - attr_accessor :time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @time = args[:time] if args.key?(:time) - end - end - end - - # - class PeopleFeed - include Google::Apis::Core::Hashable - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The people in this page of results. Each item includes the id, displayName, - # image, and url for the person. To retrieve additional profile data, see the - # people.get method. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Identifies this resource as a collection of people. Value: "plus#peopleFeed". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Link to this resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # The title of this collection of people. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The total number of people available in this list. The number of people in a - # response might be smaller due to paging. This might not be set for all - # collections. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @self_link = args[:self_link] if args.key?(:self_link) - @title = args[:title] if args.key?(:title) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - - # - class Person - include Google::Apis::Core::Hashable - - # A short biography for this person. - # Corresponds to the JSON property `aboutMe` - # @return [String] - attr_accessor :about_me - - # The person's date of birth, represented as YYYY-MM-DD. - # Corresponds to the JSON property `birthday` - # @return [String] - attr_accessor :birthday - - # The "bragging rights" line of this person. - # Corresponds to the JSON property `braggingRights` - # @return [String] - attr_accessor :bragging_rights - - # For followers who are visible, the number of people who have added this person - # or page to a circle. - # Corresponds to the JSON property `circledByCount` - # @return [Fixnum] - attr_accessor :circled_by_count - - # The cover photo content. - # Corresponds to the JSON property `cover` - # @return [Google::Apis::PlusDomainsV1::Person::Cover] - attr_accessor :cover - - # (this field is not currently used) - # Corresponds to the JSON property `currentLocation` - # @return [String] - attr_accessor :current_location - - # The name of this person, which is suitable for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The hosted domain name for the user's Google Apps account. For instance, - # example.com. The plus.profile.emails.read or email scope is needed to get this - # domain name. - # Corresponds to the JSON property `domain` - # @return [String] - attr_accessor :domain - - # A list of email addresses that this person has, including their Google account - # email address, and the public verified email addresses on their Google+ - # profile. The plus.profile.emails.read scope is needed to retrieve these email - # addresses, or the email scope can be used to retrieve just the Google account - # email address. - # Corresponds to the JSON property `emails` - # @return [Array] - attr_accessor :emails - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The person's gender. Possible values include, but are not limited to, the - # following values: - # - "male" - Male gender. - # - "female" - Female gender. - # - "other" - Other. - # Corresponds to the JSON property `gender` - # @return [String] - attr_accessor :gender - - # The ID of this person. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The representation of the person's profile photo. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusDomainsV1::Person::Image] - attr_accessor :image - - # Whether this user has signed up for Google+. - # Corresponds to the JSON property `isPlusUser` - # @return [Boolean] - attr_accessor :is_plus_user - alias_method :is_plus_user?, :is_plus_user - - # Identifies this resource as a person. Value: "plus#person". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # An object representation of the individual components of a person's name. - # Corresponds to the JSON property `name` - # @return [Google::Apis::PlusDomainsV1::Person::Name] - attr_accessor :name - - # The nickname of this person. - # Corresponds to the JSON property `nickname` - # @return [String] - attr_accessor :nickname - - # Type of person within Google+. Possible values include, but are not limited to, - # the following values: - # - "person" - represents an actual person. - # - "page" - represents a page. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - # The occupation of this person. - # Corresponds to the JSON property `occupation` - # @return [String] - attr_accessor :occupation - - # A list of current or past organizations with which this person is associated. - # Corresponds to the JSON property `organizations` - # @return [Array] - attr_accessor :organizations - - # A list of places where this person has lived. - # Corresponds to the JSON property `placesLived` - # @return [Array] - attr_accessor :places_lived - - # If a Google+ Page, the number of people who have +1'd this page. - # Corresponds to the JSON property `plusOneCount` - # @return [Fixnum] - attr_accessor :plus_one_count - - # The person's relationship status. Possible values include, but are not limited - # to, the following values: - # - "single" - Person is single. - # - "in_a_relationship" - Person is in a relationship. - # - "engaged" - Person is engaged. - # - "married" - Person is married. - # - "its_complicated" - The relationship is complicated. - # - "open_relationship" - Person is in an open relationship. - # - "widowed" - Person is widowed. - # - "in_domestic_partnership" - Person is in a domestic partnership. - # - "in_civil_union" - Person is in a civil union. - # Corresponds to the JSON property `relationshipStatus` - # @return [String] - attr_accessor :relationship_status - - # The person's skills. - # Corresponds to the JSON property `skills` - # @return [String] - attr_accessor :skills - - # The brief description (tagline) of this person. - # Corresponds to the JSON property `tagline` - # @return [String] - attr_accessor :tagline - - # The URL of this person's profile. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # A list of URLs for this person. - # Corresponds to the JSON property `urls` - # @return [Array] - attr_accessor :urls - - # Whether the person or Google+ Page has been verified. - # Corresponds to the JSON property `verified` - # @return [Boolean] - attr_accessor :verified - alias_method :verified?, :verified - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @about_me = args[:about_me] if args.key?(:about_me) - @birthday = args[:birthday] if args.key?(:birthday) - @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights) - @circled_by_count = args[:circled_by_count] if args.key?(:circled_by_count) - @cover = args[:cover] if args.key?(:cover) - @current_location = args[:current_location] if args.key?(:current_location) - @display_name = args[:display_name] if args.key?(:display_name) - @domain = args[:domain] if args.key?(:domain) - @emails = args[:emails] if args.key?(:emails) - @etag = args[:etag] if args.key?(:etag) - @gender = args[:gender] if args.key?(:gender) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @is_plus_user = args[:is_plus_user] if args.key?(:is_plus_user) - @kind = args[:kind] if args.key?(:kind) - @name = args[:name] if args.key?(:name) - @nickname = args[:nickname] if args.key?(:nickname) - @object_type = args[:object_type] if args.key?(:object_type) - @occupation = args[:occupation] if args.key?(:occupation) - @organizations = args[:organizations] if args.key?(:organizations) - @places_lived = args[:places_lived] if args.key?(:places_lived) - @plus_one_count = args[:plus_one_count] if args.key?(:plus_one_count) - @relationship_status = args[:relationship_status] if args.key?(:relationship_status) - @skills = args[:skills] if args.key?(:skills) - @tagline = args[:tagline] if args.key?(:tagline) - @url = args[:url] if args.key?(:url) - @urls = args[:urls] if args.key?(:urls) - @verified = args[:verified] if args.key?(:verified) - end - - # The cover photo content. - class Cover - include Google::Apis::Core::Hashable - - # Extra information about the cover photo. - # Corresponds to the JSON property `coverInfo` - # @return [Google::Apis::PlusDomainsV1::Person::Cover::CoverInfo] - attr_accessor :cover_info - - # The person's primary cover image. - # Corresponds to the JSON property `coverPhoto` - # @return [Google::Apis::PlusDomainsV1::Person::Cover::CoverPhoto] - attr_accessor :cover_photo - - # The layout of the cover art. Possible values include, but are not limited to, - # the following values: - # - "banner" - One large image banner. - # Corresponds to the JSON property `layout` - # @return [String] - attr_accessor :layout - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cover_info = args[:cover_info] if args.key?(:cover_info) - @cover_photo = args[:cover_photo] if args.key?(:cover_photo) - @layout = args[:layout] if args.key?(:layout) - end - - # Extra information about the cover photo. - class CoverInfo - include Google::Apis::Core::Hashable - - # The difference between the left position of the cover image and the actual - # displayed cover image. Only valid for banner layout. - # Corresponds to the JSON property `leftImageOffset` - # @return [Fixnum] - attr_accessor :left_image_offset - - # The difference between the top position of the cover image and the actual - # displayed cover image. Only valid for banner layout. - # Corresponds to the JSON property `topImageOffset` - # @return [Fixnum] - attr_accessor :top_image_offset - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @left_image_offset = args[:left_image_offset] if args.key?(:left_image_offset) - @top_image_offset = args[:top_image_offset] if args.key?(:top_image_offset) - end - end - - # The person's primary cover image. - class CoverPhoto - include Google::Apis::Core::Hashable - - # The height of the image. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # The URL of the image. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The width of the image. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @url = args[:url] if args.key?(:url) - @width = args[:width] if args.key?(:width) - end - end - end - - # - class Email - include Google::Apis::Core::Hashable - - # The type of address. Possible values include, but are not limited to, the - # following values: - # - "account" - Google account email address. - # - "home" - Home email address. - # - "work" - Work email address. - # - "other" - Other. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The email address. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @value = args[:value] if args.key?(:value) - end - end - - # The representation of the person's profile photo. - class Image - include Google::Apis::Core::Hashable - - # Whether the person's profile photo is the default one - # Corresponds to the JSON property `isDefault` - # @return [Boolean] - attr_accessor :is_default - alias_method :is_default?, :is_default - - # The URL of the person's profile photo. To resize the image and crop it to a - # square, append the query string ?sz=x, where x is the dimension in pixels of - # each side. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_default = args[:is_default] if args.key?(:is_default) - @url = args[:url] if args.key?(:url) - end - end - - # An object representation of the individual components of a person's name. - class Name - include Google::Apis::Core::Hashable - - # The family name (last name) of this person. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # The full name of this person, including middle names, suffixes, etc. - # Corresponds to the JSON property `formatted` - # @return [String] - attr_accessor :formatted - - # The given name (first name) of this person. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - - # The honorific prefixes (such as "Dr." or "Mrs.") for this person. - # Corresponds to the JSON property `honorificPrefix` - # @return [String] - attr_accessor :honorific_prefix - - # The honorific suffixes (such as "Jr.") for this person. - # Corresponds to the JSON property `honorificSuffix` - # @return [String] - attr_accessor :honorific_suffix - - # The middle name of this person. - # Corresponds to the JSON property `middleName` - # @return [String] - attr_accessor :middle_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @family_name = args[:family_name] if args.key?(:family_name) - @formatted = args[:formatted] if args.key?(:formatted) - @given_name = args[:given_name] if args.key?(:given_name) - @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) - @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) - @middle_name = args[:middle_name] if args.key?(:middle_name) - end - end - - # - class Organization - include Google::Apis::Core::Hashable - - # The department within the organization. Deprecated. - # Corresponds to the JSON property `department` - # @return [String] - attr_accessor :department - - # A short description of the person's role in this organization. Deprecated. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The date that the person left this organization. - # Corresponds to the JSON property `endDate` - # @return [String] - attr_accessor :end_date - - # The location of this organization. Deprecated. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # The name of the organization. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # If "true", indicates this organization is the person's primary one, which is - # typically interpreted as the current one. - # Corresponds to the JSON property `primary` - # @return [Boolean] - attr_accessor :primary - alias_method :primary?, :primary - - # The date that the person joined this organization. - # Corresponds to the JSON property `startDate` - # @return [String] - attr_accessor :start_date - - # The person's job title or role within the organization. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The type of organization. Possible values include, but are not limited to, the - # following values: - # - "work" - Work. - # - "school" - School. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @department = args[:department] if args.key?(:department) - @description = args[:description] if args.key?(:description) - @end_date = args[:end_date] if args.key?(:end_date) - @location = args[:location] if args.key?(:location) - @name = args[:name] if args.key?(:name) - @primary = args[:primary] if args.key?(:primary) - @start_date = args[:start_date] if args.key?(:start_date) - @title = args[:title] if args.key?(:title) - @type = args[:type] if args.key?(:type) - end - end - - # - class PlacesLived - include Google::Apis::Core::Hashable - - # If "true", this place of residence is this person's primary residence. - # Corresponds to the JSON property `primary` - # @return [Boolean] - attr_accessor :primary - alias_method :primary?, :primary - - # A place where this person has lived. For example: "Seattle, WA", "Near Toronto" - # . - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @primary = args[:primary] if args.key?(:primary) - @value = args[:value] if args.key?(:value) - end - end - - # - class Url - include Google::Apis::Core::Hashable - - # The label of the URL. - # Corresponds to the JSON property `label` - # @return [String] - attr_accessor :label - - # The type of URL. Possible values include, but are not limited to, the - # following values: - # - "otherProfile" - URL for another profile. - # - "contributor" - URL to a site for which this person is a contributor. - # - "website" - URL for this Google+ Page's primary website. - # - "other" - Other URL. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The URL value. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @label = args[:label] if args.key?(:label) - @type = args[:type] if args.key?(:type) - @value = args[:value] if args.key?(:value) - end - end - end - - # - class Place - include Google::Apis::Core::Hashable - - # The physical address of the place. - # Corresponds to the JSON property `address` - # @return [Google::Apis::PlusDomainsV1::Place::Address] - attr_accessor :address - - # The display name of the place. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The id of the place. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Identifies this resource as a place. Value: "plus#place". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The position of the place. - # Corresponds to the JSON property `position` - # @return [Google::Apis::PlusDomainsV1::Place::Position] - attr_accessor :position - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @address = args[:address] if args.key?(:address) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @kind = args[:kind] if args.key?(:kind) - @position = args[:position] if args.key?(:position) - end - - # The physical address of the place. - class Address - include Google::Apis::Core::Hashable - - # The formatted address for display. - # Corresponds to the JSON property `formatted` - # @return [String] - attr_accessor :formatted - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formatted = args[:formatted] if args.key?(:formatted) - end - end - - # The position of the place. - class Position - include Google::Apis::Core::Hashable - - # The latitude of this position. - # Corresponds to the JSON property `latitude` - # @return [Float] - attr_accessor :latitude - - # The longitude of this position. - # Corresponds to the JSON property `longitude` - # @return [Float] - attr_accessor :longitude - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @latitude = args[:latitude] if args.key?(:latitude) - @longitude = args[:longitude] if args.key?(:longitude) - end - end - end - - # - class PlusDomainsAclentryResource - include Google::Apis::Core::Hashable - - # A descriptive name for this entry. Suitable for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The ID of the entry. For entries of type "person" or "circle", this is the ID - # of the resource. For other types, this property is not set. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The type of entry describing to whom access is granted. Possible values are: - # - "person" - Access to an individual. - # - "circle" - Access to members of a circle. - # - "myCircles" - Access to members of all the person's circles. - # - "extendedCircles" - Access to members of all the person's circles, plus all - # of the people in their circles. - # - "domain" - Access to members of the person's Google Apps domain. - # - "public" - Access to anyone on the web. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @type = args[:type] if args.key?(:type) - end - end - - # - class Videostream - include Google::Apis::Core::Hashable - - # The height, in pixels, of the video resource. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # MIME type of the video stream. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # URL of the video stream. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The width, in pixels, of the video resource. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @type = args[:type] if args.key?(:type) - @url = args[:url] if args.key?(:url) - @width = args[:width] if args.key?(:width) - end - end - end - end -end diff --git a/generated/google/apis/plus_domains_v1/representations.rb b/generated/google/apis/plus_domains_v1/representations.rb deleted file mode 100644 index 474e08a6c..000000000 --- a/generated/google/apis/plus_domains_v1/representations.rb +++ /dev/null @@ -1,1111 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'date' -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module PlusDomainsV1 - - class Acl - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Activity - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Actor - class Representation < Google::Apis::Core::JsonRepresentation; end - - class ClientSpecificActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - class YoutubeActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Name - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Verification - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Object - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Actor - class Representation < Google::Apis::Core::JsonRepresentation; end - - class ClientSpecificActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - class YoutubeActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Verification - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Attachment - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Embed - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FullImage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PreviewThumbnail - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Thumbnail - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Plusoners - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Replies - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Resharers - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StatusForViewer - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Provider - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class ActivityFeed - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Audience - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AudiencesFeed - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Circle - class Representation < Google::Apis::Core::JsonRepresentation; end - - class People - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class CircleFeed - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Comment - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Actor - class Representation < Google::Apis::Core::JsonRepresentation; end - - class ClientSpecificActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - class YoutubeActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Verification - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class InReplyTo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Object - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Plusoners - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class CommentFeed - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Media - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Author - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Exif - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class PeopleFeed - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Person - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Cover - class Representation < Google::Apis::Core::JsonRepresentation; end - - class CoverInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CoverPhoto - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Email - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Name - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Organization - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PlacesLived - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Url - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Place - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Address - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Position - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class PlusDomainsAclentryResource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Videostream - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Acl - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :domain_restricted, as: 'domainRestricted' - collection :items, as: 'items', class: Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource, decorator: Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource::Representation - - property :kind, as: 'kind' - end - end - - class Activity - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :access, as: 'access', class: Google::Apis::PlusDomainsV1::Acl, decorator: Google::Apis::PlusDomainsV1::Acl::Representation - - property :actor, as: 'actor', class: Google::Apis::PlusDomainsV1::Activity::Actor, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::Representation - - property :address, as: 'address' - property :annotation, as: 'annotation' - property :crosspost_source, as: 'crosspostSource' - property :etag, as: 'etag' - property :geocode, as: 'geocode' - property :id, as: 'id' - property :kind, as: 'kind' - property :location, as: 'location', class: Google::Apis::PlusDomainsV1::Place, decorator: Google::Apis::PlusDomainsV1::Place::Representation - - property :object, as: 'object', class: Google::Apis::PlusDomainsV1::Activity::Object, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Representation - - property :place_id, as: 'placeId' - property :place_name, as: 'placeName' - property :provider, as: 'provider', class: Google::Apis::PlusDomainsV1::Activity::Provider, decorator: Google::Apis::PlusDomainsV1::Activity::Provider::Representation - - property :published, as: 'published', type: DateTime - - property :radius, as: 'radius' - property :title, as: 'title' - property :updated, as: 'updated', type: DateTime - - property :url, as: 'url' - property :verb, as: 'verb' - end - - class Actor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_specific_actor_info, as: 'clientSpecificActorInfo', class: Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo::Representation - - property :display_name, as: 'displayName' - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusDomainsV1::Activity::Actor::Image, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::Image::Representation - - property :name, as: 'name', class: Google::Apis::PlusDomainsV1::Activity::Actor::Name, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::Name::Representation - - property :url, as: 'url' - property :verification, as: 'verification', class: Google::Apis::PlusDomainsV1::Activity::Actor::Verification, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::Verification::Representation - - end - - class ClientSpecificActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :youtube_actor_info, as: 'youtubeActorInfo', class: Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo::Representation - - end - - class YoutubeActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :channel_id, as: 'channelId' - end - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - - class Name - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :family_name, as: 'familyName' - property :given_name, as: 'givenName' - end - end - - class Verification - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ad_hoc_verified, as: 'adHocVerified' - end - end - end - - class Object - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :actor, as: 'actor', class: Google::Apis::PlusDomainsV1::Activity::Object::Actor, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Actor::Representation - - collection :attachments, as: 'attachments', class: Google::Apis::PlusDomainsV1::Activity::Object::Attachment, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Representation - - property :content, as: 'content' - property :id, as: 'id' - property :object_type, as: 'objectType' - property :original_content, as: 'originalContent' - property :plusoners, as: 'plusoners', class: Google::Apis::PlusDomainsV1::Activity::Object::Plusoners, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Plusoners::Representation - - property :replies, as: 'replies', class: Google::Apis::PlusDomainsV1::Activity::Object::Replies, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Replies::Representation - - property :resharers, as: 'resharers', class: Google::Apis::PlusDomainsV1::Activity::Object::Resharers, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Resharers::Representation - - property :status_for_viewer, as: 'statusForViewer', class: Google::Apis::PlusDomainsV1::Activity::Object::StatusForViewer, decorator: Google::Apis::PlusDomainsV1::Activity::Object::StatusForViewer::Representation - - property :url, as: 'url' - end - - class Actor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_specific_actor_info, as: 'clientSpecificActorInfo', class: Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo::Representation - - property :display_name, as: 'displayName' - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusDomainsV1::Activity::Object::Actor::Image, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Actor::Image::Representation - - property :url, as: 'url' - property :verification, as: 'verification', class: Google::Apis::PlusDomainsV1::Activity::Object::Actor::Verification, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Actor::Verification::Representation - - end - - class ClientSpecificActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :youtube_actor_info, as: 'youtubeActorInfo', class: Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo::Representation - - end - - class YoutubeActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :channel_id, as: 'channelId' - end - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - - class Verification - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ad_hoc_verified, as: 'adHocVerified' - end - end - end - - class Attachment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content, as: 'content' - property :display_name, as: 'displayName' - property :embed, as: 'embed', class: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Embed, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Embed::Representation - - property :full_image, as: 'fullImage', class: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::FullImage, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::FullImage::Representation - - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Image, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Image::Representation - - property :object_type, as: 'objectType' - collection :preview_thumbnails, as: 'previewThumbnails', class: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::PreviewThumbnail, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::PreviewThumbnail::Representation - - collection :thumbnails, as: 'thumbnails', class: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail::Representation - - property :url, as: 'url' - end - - class Embed - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :url, as: 'url' - end - end - - class FullImage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :type, as: 'type' - property :url, as: 'url' - property :width, as: 'width' - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :type, as: 'type' - property :url, as: 'url' - property :width, as: 'width' - end - end - - class PreviewThumbnail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - - class Thumbnail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :image, as: 'image', class: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail::Image, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail::Image::Representation - - property :url, as: 'url' - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :type, as: 'type' - property :url, as: 'url' - property :width, as: 'width' - end - end - end - end - - class Plusoners - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :self_link, as: 'selfLink' - property :total_items, as: 'totalItems' - end - end - - class Replies - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :self_link, as: 'selfLink' - property :total_items, as: 'totalItems' - end - end - - class Resharers - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :self_link, as: 'selfLink' - property :total_items, as: 'totalItems' - end - end - - class StatusForViewer - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :can_comment, as: 'canComment' - property :can_plusone, as: 'canPlusone' - property :can_update, as: 'canUpdate' - property :is_plus_oned, as: 'isPlusOned' - property :resharing_disabled, as: 'resharingDisabled' - end - end - end - - class Provider - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - end - end - end - - class ActivityFeed - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, as: 'etag' - property :id, as: 'id' - collection :items, as: 'items', class: Google::Apis::PlusDomainsV1::Activity, decorator: Google::Apis::PlusDomainsV1::Activity::Representation - - property :kind, as: 'kind' - property :next_link, as: 'nextLink' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - property :title, as: 'title' - property :updated, as: 'updated', type: DateTime - - end - end - - class Audience - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, as: 'etag' - property :item, as: 'item', class: Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource, decorator: Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource::Representation - - property :kind, as: 'kind' - property :member_count, as: 'memberCount' - property :visibility, as: 'visibility' - end - end - - class AudiencesFeed - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, as: 'etag' - collection :items, as: 'items', class: Google::Apis::PlusDomainsV1::Audience, decorator: Google::Apis::PlusDomainsV1::Audience::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :total_items, as: 'totalItems' - end - end - - class Circle - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :display_name, as: 'displayName' - property :etag, as: 'etag' - property :id, as: 'id' - property :kind, as: 'kind' - property :people, as: 'people', class: Google::Apis::PlusDomainsV1::Circle::People, decorator: Google::Apis::PlusDomainsV1::Circle::People::Representation - - property :self_link, as: 'selfLink' - end - - class People - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :total_items, as: 'totalItems' - end - end - end - - class CircleFeed - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, as: 'etag' - collection :items, as: 'items', class: Google::Apis::PlusDomainsV1::Circle, decorator: Google::Apis::PlusDomainsV1::Circle::Representation - - property :kind, as: 'kind' - property :next_link, as: 'nextLink' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - property :title, as: 'title' - property :total_items, as: 'totalItems' - end - end - - class Comment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :actor, as: 'actor', class: Google::Apis::PlusDomainsV1::Comment::Actor, decorator: Google::Apis::PlusDomainsV1::Comment::Actor::Representation - - property :etag, as: 'etag' - property :id, as: 'id' - collection :in_reply_to, as: 'inReplyTo', class: Google::Apis::PlusDomainsV1::Comment::InReplyTo, decorator: Google::Apis::PlusDomainsV1::Comment::InReplyTo::Representation - - property :kind, as: 'kind' - property :object, as: 'object', class: Google::Apis::PlusDomainsV1::Comment::Object, decorator: Google::Apis::PlusDomainsV1::Comment::Object::Representation - - property :plusoners, as: 'plusoners', class: Google::Apis::PlusDomainsV1::Comment::Plusoners, decorator: Google::Apis::PlusDomainsV1::Comment::Plusoners::Representation - - property :published, as: 'published', type: DateTime - - property :self_link, as: 'selfLink' - property :updated, as: 'updated', type: DateTime - - property :verb, as: 'verb' - end - - class Actor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_specific_actor_info, as: 'clientSpecificActorInfo', class: Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo, decorator: Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo::Representation - - property :display_name, as: 'displayName' - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusDomainsV1::Comment::Actor::Image, decorator: Google::Apis::PlusDomainsV1::Comment::Actor::Image::Representation - - property :url, as: 'url' - property :verification, as: 'verification', class: Google::Apis::PlusDomainsV1::Comment::Actor::Verification, decorator: Google::Apis::PlusDomainsV1::Comment::Actor::Verification::Representation - - end - - class ClientSpecificActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :youtube_actor_info, as: 'youtubeActorInfo', class: Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo, decorator: Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo::Representation - - end - - class YoutubeActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :channel_id, as: 'channelId' - end - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - - class Verification - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ad_hoc_verified, as: 'adHocVerified' - end - end - end - - class InReplyTo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :url, as: 'url' - end - end - - class Object - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content, as: 'content' - property :object_type, as: 'objectType' - property :original_content, as: 'originalContent' - end - end - - class Plusoners - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :total_items, as: 'totalItems' - end - end - end - - class CommentFeed - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, as: 'etag' - property :id, as: 'id' - collection :items, as: 'items', class: Google::Apis::PlusDomainsV1::Comment, decorator: Google::Apis::PlusDomainsV1::Comment::Representation - - property :kind, as: 'kind' - property :next_link, as: 'nextLink' - property :next_page_token, as: 'nextPageToken' - property :title, as: 'title' - property :updated, as: 'updated', type: DateTime - - end - end - - class Media - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :author, as: 'author', class: Google::Apis::PlusDomainsV1::Media::Author, decorator: Google::Apis::PlusDomainsV1::Media::Author::Representation - - property :display_name, as: 'displayName' - property :etag, as: 'etag' - property :exif, as: 'exif', class: Google::Apis::PlusDomainsV1::Media::Exif, decorator: Google::Apis::PlusDomainsV1::Media::Exif::Representation - - property :height, as: 'height' - property :id, as: 'id' - property :kind, as: 'kind' - property :media_created_time, as: 'mediaCreatedTime', type: DateTime - - property :media_url, as: 'mediaUrl' - property :published, as: 'published', type: DateTime - - property :size_bytes, :numeric_string => true, as: 'sizeBytes' - collection :streams, as: 'streams', class: Google::Apis::PlusDomainsV1::Videostream, decorator: Google::Apis::PlusDomainsV1::Videostream::Representation - - property :summary, as: 'summary' - property :updated, as: 'updated', type: DateTime - - property :url, as: 'url' - property :video_duration, :numeric_string => true, as: 'videoDuration' - property :video_status, as: 'videoStatus' - property :width, as: 'width' - end - - class Author - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusDomainsV1::Media::Author::Image, decorator: Google::Apis::PlusDomainsV1::Media::Author::Image::Representation - - property :url, as: 'url' - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - end - - class Exif - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :time, as: 'time', type: DateTime - - end - end - end - - class PeopleFeed - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, as: 'etag' - collection :items, as: 'items', class: Google::Apis::PlusDomainsV1::Person, decorator: Google::Apis::PlusDomainsV1::Person::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - property :title, as: 'title' - property :total_items, as: 'totalItems' - end - end - - class Person - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :about_me, as: 'aboutMe' - property :birthday, as: 'birthday' - property :bragging_rights, as: 'braggingRights' - property :circled_by_count, as: 'circledByCount' - property :cover, as: 'cover', class: Google::Apis::PlusDomainsV1::Person::Cover, decorator: Google::Apis::PlusDomainsV1::Person::Cover::Representation - - property :current_location, as: 'currentLocation' - property :display_name, as: 'displayName' - property :domain, as: 'domain' - collection :emails, as: 'emails', class: Google::Apis::PlusDomainsV1::Person::Email, decorator: Google::Apis::PlusDomainsV1::Person::Email::Representation - - property :etag, as: 'etag' - property :gender, as: 'gender' - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusDomainsV1::Person::Image, decorator: Google::Apis::PlusDomainsV1::Person::Image::Representation - - property :is_plus_user, as: 'isPlusUser' - property :kind, as: 'kind' - property :name, as: 'name', class: Google::Apis::PlusDomainsV1::Person::Name, decorator: Google::Apis::PlusDomainsV1::Person::Name::Representation - - property :nickname, as: 'nickname' - property :object_type, as: 'objectType' - property :occupation, as: 'occupation' - collection :organizations, as: 'organizations', class: Google::Apis::PlusDomainsV1::Person::Organization, decorator: Google::Apis::PlusDomainsV1::Person::Organization::Representation - - collection :places_lived, as: 'placesLived', class: Google::Apis::PlusDomainsV1::Person::PlacesLived, decorator: Google::Apis::PlusDomainsV1::Person::PlacesLived::Representation - - property :plus_one_count, as: 'plusOneCount' - property :relationship_status, as: 'relationshipStatus' - property :skills, as: 'skills' - property :tagline, as: 'tagline' - property :url, as: 'url' - collection :urls, as: 'urls', class: Google::Apis::PlusDomainsV1::Person::Url, decorator: Google::Apis::PlusDomainsV1::Person::Url::Representation - - property :verified, as: 'verified' - end - - class Cover - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cover_info, as: 'coverInfo', class: Google::Apis::PlusDomainsV1::Person::Cover::CoverInfo, decorator: Google::Apis::PlusDomainsV1::Person::Cover::CoverInfo::Representation - - property :cover_photo, as: 'coverPhoto', class: Google::Apis::PlusDomainsV1::Person::Cover::CoverPhoto, decorator: Google::Apis::PlusDomainsV1::Person::Cover::CoverPhoto::Representation - - property :layout, as: 'layout' - end - - class CoverInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :left_image_offset, as: 'leftImageOffset' - property :top_image_offset, as: 'topImageOffset' - end - end - - class CoverPhoto - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :url, as: 'url' - property :width, as: 'width' - end - end - end - - class Email - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :value, as: 'value' - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :is_default, as: 'isDefault' - property :url, as: 'url' - end - end - - class Name - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :family_name, as: 'familyName' - property :formatted, as: 'formatted' - property :given_name, as: 'givenName' - property :honorific_prefix, as: 'honorificPrefix' - property :honorific_suffix, as: 'honorificSuffix' - property :middle_name, as: 'middleName' - end - end - - class Organization - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :department, as: 'department' - property :description, as: 'description' - property :end_date, as: 'endDate' - property :location, as: 'location' - property :name, as: 'name' - property :primary, as: 'primary' - property :start_date, as: 'startDate' - property :title, as: 'title' - property :type, as: 'type' - end - end - - class PlacesLived - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :primary, as: 'primary' - property :value, as: 'value' - end - end - - class Url - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :label, as: 'label' - property :type, as: 'type' - property :value, as: 'value' - end - end - end - - class Place - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :address, as: 'address', class: Google::Apis::PlusDomainsV1::Place::Address, decorator: Google::Apis::PlusDomainsV1::Place::Address::Representation - - property :display_name, as: 'displayName' - property :id, as: 'id' - property :kind, as: 'kind' - property :position, as: 'position', class: Google::Apis::PlusDomainsV1::Place::Position, decorator: Google::Apis::PlusDomainsV1::Place::Position::Representation - - end - - class Address - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatted, as: 'formatted' - end - end - - class Position - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :latitude, as: 'latitude' - property :longitude, as: 'longitude' - end - end - end - - class PlusDomainsAclentryResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :id, as: 'id' - property :type, as: 'type' - end - end - - class Videostream - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :type, as: 'type' - property :url, as: 'url' - property :width, as: 'width' - end - end - end - end -end diff --git a/generated/google/apis/plus_domains_v1/service.rb b/generated/google/apis/plus_domains_v1/service.rb deleted file mode 100644 index 7313c3dcf..000000000 --- a/generated/google/apis/plus_domains_v1/service.rb +++ /dev/null @@ -1,863 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module PlusDomainsV1 - # Google+ Domains API - # - # Builds on top of the Google+ platform for Google Apps Domains. - # - # @example - # require 'google/apis/plus_domains_v1' - # - # PlusDomains = Google::Apis::PlusDomainsV1 # Alias the module - # service = PlusDomains::PlusDomainsService.new - # - # @see https://developers.google.com/+/domains/ - class PlusDomainsService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - - # @return [String] - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - attr_accessor :quota_user - - # @return [String] - # Deprecated. Please use quotaUser instead. - attr_accessor :user_ip - - def initialize - super('https://www.googleapis.com/', 'plusDomains/v1/') - @batch_path = 'batch/plusDomains/v1' - end - - # Get an activity. - # @param [String] activity_id - # The ID of the activity to get. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Activity] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Activity] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_activity(activity_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'activities/{activityId}', options) - command.response_representation = Google::Apis::PlusDomainsV1::Activity::Representation - command.response_class = Google::Apis::PlusDomainsV1::Activity - command.params['activityId'] = activity_id unless activity_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Create a new activity for the authenticated user. - # @param [String] user_id - # The ID of the user to create the activity on behalf of. Its value should be " - # me", to indicate the authenticated user. - # @param [Google::Apis::PlusDomainsV1::Activity] activity_object - # @param [Boolean] preview - # If "true", extract the potential media attachments for a URL. The response - # will include all possible attachments for a URL, including video, photos, and - # articles based on the content of the page. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Activity] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Activity] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_activity(user_id, activity_object = nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'people/{userId}/activities', options) - command.request_representation = Google::Apis::PlusDomainsV1::Activity::Representation - command.request_object = activity_object - command.response_representation = Google::Apis::PlusDomainsV1::Activity::Representation - command.response_class = Google::Apis::PlusDomainsV1::Activity - command.params['userId'] = user_id unless user_id.nil? - command.query['preview'] = preview unless preview.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the activities in the specified collection for a particular user. - # @param [String] user_id - # The ID of the user to get activities for. The special value "me" can be used - # to indicate the authenticated user. - # @param [String] collection - # The collection of activities to list. - # @param [Fixnum] max_results - # The maximum number of activities to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::ActivityFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::ActivityFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_activities(user_id, collection, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'people/{userId}/activities/{collection}', options) - command.response_representation = Google::Apis::PlusDomainsV1::ActivityFeed::Representation - command.response_class = Google::Apis::PlusDomainsV1::ActivityFeed - command.params['userId'] = user_id unless user_id.nil? - command.params['collection'] = collection unless collection.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the audiences to which a user can share. - # @param [String] user_id - # The ID of the user to get audiences for. The special value "me" can be used to - # indicate the authenticated user. - # @param [Fixnum] max_results - # The maximum number of circles to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::AudiencesFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::AudiencesFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_audiences(user_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'people/{userId}/audiences', options) - command.response_representation = Google::Apis::PlusDomainsV1::AudiencesFeed::Representation - command.response_class = Google::Apis::PlusDomainsV1::AudiencesFeed - command.params['userId'] = user_id unless user_id.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Add a person to a circle. Google+ limits certain circle operations, including - # the number of circle adds. Learn More. - # @param [String] circle_id - # The ID of the circle to add the person to. - # @param [Array, String] email - # Email of the people to add to the circle. Optional, can be repeated. - # @param [Array, String] user_id - # IDs of the people to add to the circle. Optional, can be repeated. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Circle] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def add_people(circle_id, email: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, 'circles/{circleId}/people', options) - command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation - command.response_class = Google::Apis::PlusDomainsV1::Circle - command.params['circleId'] = circle_id unless circle_id.nil? - command.query['email'] = email unless email.nil? - command.query['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Get a circle. - # @param [String] circle_id - # The ID of the circle to get. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Circle] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_circle(circle_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'circles/{circleId}', options) - command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation - command.response_class = Google::Apis::PlusDomainsV1::Circle - command.params['circleId'] = circle_id unless circle_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Create a new circle for the authenticated user. - # @param [String] user_id - # The ID of the user to create the circle on behalf of. The value "me" can be - # used to indicate the authenticated user. - # @param [Google::Apis::PlusDomainsV1::Circle] circle_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Circle] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_circle(user_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'people/{userId}/circles', options) - command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation - command.request_object = circle_object - command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation - command.response_class = Google::Apis::PlusDomainsV1::Circle - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the circles for a user. - # @param [String] user_id - # The ID of the user to get circles for. The special value "me" can be used to - # indicate the authenticated user. - # @param [Fixnum] max_results - # The maximum number of circles to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::CircleFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::CircleFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_circles(user_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'people/{userId}/circles', options) - command.response_representation = Google::Apis::PlusDomainsV1::CircleFeed::Representation - command.response_class = Google::Apis::PlusDomainsV1::CircleFeed - command.params['userId'] = user_id unless user_id.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Update a circle's description. This method supports patch semantics. - # @param [String] circle_id - # The ID of the circle to update. - # @param [Google::Apis::PlusDomainsV1::Circle] circle_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Circle] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_circle(circle_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, 'circles/{circleId}', options) - command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation - command.request_object = circle_object - command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation - command.response_class = Google::Apis::PlusDomainsV1::Circle - command.params['circleId'] = circle_id unless circle_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Delete a circle. - # @param [String] circle_id - # The ID of the circle to delete. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def remove_circle(circle_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, 'circles/{circleId}', options) - command.params['circleId'] = circle_id unless circle_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Remove a person from a circle. - # @param [String] circle_id - # The ID of the circle to remove the person from. - # @param [Array, String] email - # Email of the people to add to the circle. Optional, can be repeated. - # @param [Array, String] user_id - # IDs of the people to remove from the circle. Optional, can be repeated. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def remove_people(circle_id, email: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, 'circles/{circleId}/people', options) - command.params['circleId'] = circle_id unless circle_id.nil? - command.query['email'] = email unless email.nil? - command.query['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Update a circle's description. - # @param [String] circle_id - # The ID of the circle to update. - # @param [Google::Apis::PlusDomainsV1::Circle] circle_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Circle] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_circle(circle_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, 'circles/{circleId}', options) - command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation - command.request_object = circle_object - command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation - command.response_class = Google::Apis::PlusDomainsV1::Circle - command.params['circleId'] = circle_id unless circle_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Get a comment. - # @param [String] comment_id - # The ID of the comment to get. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Comment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Comment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_comment(comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'comments/{commentId}', options) - command.response_representation = Google::Apis::PlusDomainsV1::Comment::Representation - command.response_class = Google::Apis::PlusDomainsV1::Comment - command.params['commentId'] = comment_id unless comment_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Create a new comment in reply to an activity. - # @param [String] activity_id - # The ID of the activity to reply to. - # @param [Google::Apis::PlusDomainsV1::Comment] comment_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Comment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Comment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_comment(activity_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'activities/{activityId}/comments', options) - command.request_representation = Google::Apis::PlusDomainsV1::Comment::Representation - command.request_object = comment_object - command.response_representation = Google::Apis::PlusDomainsV1::Comment::Representation - command.response_class = Google::Apis::PlusDomainsV1::Comment - command.params['activityId'] = activity_id unless activity_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the comments for an activity. - # @param [String] activity_id - # The ID of the activity to get comments for. - # @param [Fixnum] max_results - # The maximum number of comments to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] sort_order - # The order in which to sort the list of comments. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::CommentFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::CommentFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_comments(activity_id, max_results: nil, page_token: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'activities/{activityId}/comments', options) - command.response_representation = Google::Apis::PlusDomainsV1::CommentFeed::Representation - command.response_class = Google::Apis::PlusDomainsV1::CommentFeed - command.params['activityId'] = activity_id unless activity_id.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['sortOrder'] = sort_order unless sort_order.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Add a new media item to an album. The current upload size limitations are 36MB - # for a photo and 1GB for a video. Uploads do not count against quota if photos - # are less than 2048 pixels on their longest side or videos are less than 15 - # minutes in length. - # @param [String] user_id - # The ID of the user to create the activity on behalf of. - # @param [String] collection - # @param [Google::Apis::PlusDomainsV1::Media] media_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [IO, String] upload_source - # IO stream or filename containing content to upload - # @param [String] content_type - # Content type of the uploaded content. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Media] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Media] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_medium(user_id, collection, media_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) - if upload_source.nil? - command = make_simple_command(:post, 'people/{userId}/media/{collection}', options) - else - command = make_upload_command(:post, 'people/{userId}/media/{collection}', options) - command.upload_source = upload_source - command.upload_content_type = content_type - end - command.request_representation = Google::Apis::PlusDomainsV1::Media::Representation - command.request_object = media_object - command.response_representation = Google::Apis::PlusDomainsV1::Media::Representation - command.response_class = Google::Apis::PlusDomainsV1::Media - command.params['userId'] = user_id unless user_id.nil? - command.params['collection'] = collection unless collection.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Get a person's profile. - # @param [String] user_id - # The ID of the person to get the profile for. The special value "me" can be - # used to indicate the authenticated user. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::Person] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::Person] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_person(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'people/{userId}', options) - command.response_representation = Google::Apis::PlusDomainsV1::Person::Representation - command.response_class = Google::Apis::PlusDomainsV1::Person - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the people in the specified collection. - # @param [String] user_id - # Get the collection of people for the person identified. Use "me" to indicate - # the authenticated user. - # @param [String] collection - # The collection of people to list. - # @param [Fixnum] max_results - # The maximum number of people to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] order_by - # The order to return people in. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::PeopleFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::PeopleFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_people(user_id, collection, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'people/{userId}/people/{collection}', options) - command.response_representation = Google::Apis::PlusDomainsV1::PeopleFeed::Representation - command.response_class = Google::Apis::PlusDomainsV1::PeopleFeed - command.params['userId'] = user_id unless user_id.nil? - command.params['collection'] = collection unless collection.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the people in the specified collection for a particular activity. - # @param [String] activity_id - # The ID of the activity to get the list of people for. - # @param [String] collection - # The collection of people to list. - # @param [Fixnum] max_results - # The maximum number of people to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::PeopleFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::PeopleFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_people_by_activity(activity_id, collection, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'activities/{activityId}/people/{collection}', options) - command.response_representation = Google::Apis::PlusDomainsV1::PeopleFeed::Representation - command.response_class = Google::Apis::PlusDomainsV1::PeopleFeed - command.params['activityId'] = activity_id unless activity_id.nil? - command.params['collection'] = collection unless collection.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the people who are members of a circle. - # @param [String] circle_id - # The ID of the circle to get the members of. - # @param [Fixnum] max_results - # The maximum number of people to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusDomainsV1::PeopleFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusDomainsV1::PeopleFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_people_by_circle(circle_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'circles/{circleId}/people', options) - command.response_representation = Google::Apis::PlusDomainsV1::PeopleFeed::Representation - command.response_class = Google::Apis::PlusDomainsV1::PeopleFeed - command.params['circleId'] = circle_id unless circle_id.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - protected - - def apply_command_defaults(command) - command.query['key'] = key unless key.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - end - end - end - end -end diff --git a/generated/google/apis/plus_v1.rb b/generated/google/apis/plus_v1.rb deleted file mode 100644 index f6a296dfd..000000000 --- a/generated/google/apis/plus_v1.rb +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'google/apis/plus_v1/service.rb' -require 'google/apis/plus_v1/classes.rb' -require 'google/apis/plus_v1/representations.rb' - -module Google - module Apis - # Google+ API - # - # Builds on top of the Google+ platform. - # - # @see https://developers.google.com/+/api/ - module PlusV1 - VERSION = 'V1' - REVISION = '20190218' - - # View your basic profile info, including your age range and language - AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' - - # Know who you are on Google - AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me' - - # View your email address - AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' - - # View your basic profile info - AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' - end - end -end diff --git a/generated/google/apis/plus_v1/classes.rb b/generated/google/apis/plus_v1/classes.rb deleted file mode 100644 index 150f53267..000000000 --- a/generated/google/apis/plus_v1/classes.rb +++ /dev/null @@ -1,2094 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'date' -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module PlusV1 - - # - class Acl - include Google::Apis::Core::Hashable - - # Description of the access granted, suitable for display. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The list of access entries. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Identifies this resource as a collection of access controls. Value: "plus#acl". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - end - end - - # - class Activity - include Google::Apis::Core::Hashable - - # Identifies who has access to see this activity. - # Corresponds to the JSON property `access` - # @return [Google::Apis::PlusV1::Acl] - attr_accessor :access - - # The person who performed this activity. - # Corresponds to the JSON property `actor` - # @return [Google::Apis::PlusV1::Activity::Actor] - attr_accessor :actor - - # Street address where this activity occurred. - # Corresponds to the JSON property `address` - # @return [String] - attr_accessor :address - - # Additional content added by the person who shared this activity, applicable - # only when resharing an activity. - # Corresponds to the JSON property `annotation` - # @return [String] - attr_accessor :annotation - - # If this activity is a crosspost from another system, this property specifies - # the ID of the original activity. - # Corresponds to the JSON property `crosspostSource` - # @return [String] - attr_accessor :crosspost_source - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # Latitude and longitude where this activity occurred. Format is latitude - # followed by longitude, space separated. - # Corresponds to the JSON property `geocode` - # @return [String] - attr_accessor :geocode - - # The ID of this activity. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Identifies this resource as an activity. Value: "plus#activity". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The location where this activity occurred. - # Corresponds to the JSON property `location` - # @return [Google::Apis::PlusV1::Place] - attr_accessor :location - - # The object of this activity. - # Corresponds to the JSON property `object` - # @return [Google::Apis::PlusV1::Activity::Object] - attr_accessor :object - - # ID of the place where this activity occurred. - # Corresponds to the JSON property `placeId` - # @return [String] - attr_accessor :place_id - - # Name of the place where this activity occurred. - # Corresponds to the JSON property `placeName` - # @return [String] - attr_accessor :place_name - - # The service provider that initially published this activity. - # Corresponds to the JSON property `provider` - # @return [Google::Apis::PlusV1::Activity::Provider] - attr_accessor :provider - - # The time at which this activity was initially published. Formatted as an RFC - # 3339 timestamp. - # Corresponds to the JSON property `published` - # @return [DateTime] - attr_accessor :published - - # Radius, in meters, of the region where this activity occurred, centered at the - # latitude and longitude identified in geocode. - # Corresponds to the JSON property `radius` - # @return [String] - attr_accessor :radius - - # Title of this activity. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The time at which this activity was last updated. Formatted as an RFC 3339 - # timestamp. - # Corresponds to the JSON property `updated` - # @return [DateTime] - attr_accessor :updated - - # The link to this activity. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # This activity's verb, which indicates the action that was performed. Possible - # values include, but are not limited to, the following values: - # - "post" - Publish content to the stream. - # - "share" - Reshare an activity. - # Corresponds to the JSON property `verb` - # @return [String] - attr_accessor :verb - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @access = args[:access] if args.key?(:access) - @actor = args[:actor] if args.key?(:actor) - @address = args[:address] if args.key?(:address) - @annotation = args[:annotation] if args.key?(:annotation) - @crosspost_source = args[:crosspost_source] if args.key?(:crosspost_source) - @etag = args[:etag] if args.key?(:etag) - @geocode = args[:geocode] if args.key?(:geocode) - @id = args[:id] if args.key?(:id) - @kind = args[:kind] if args.key?(:kind) - @location = args[:location] if args.key?(:location) - @object = args[:object] if args.key?(:object) - @place_id = args[:place_id] if args.key?(:place_id) - @place_name = args[:place_name] if args.key?(:place_name) - @provider = args[:provider] if args.key?(:provider) - @published = args[:published] if args.key?(:published) - @radius = args[:radius] if args.key?(:radius) - @title = args[:title] if args.key?(:title) - @updated = args[:updated] if args.key?(:updated) - @url = args[:url] if args.key?(:url) - @verb = args[:verb] if args.key?(:verb) - end - - # The person who performed this activity. - class Actor - include Google::Apis::Core::Hashable - - # Actor info specific to particular clients. - # Corresponds to the JSON property `clientSpecificActorInfo` - # @return [Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo] - attr_accessor :client_specific_actor_info - - # The name of the actor, suitable for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The ID of the actor's Person resource. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The image representation of the actor. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusV1::Activity::Actor::Image] - attr_accessor :image - - # An object representation of the individual components of name. - # Corresponds to the JSON property `name` - # @return [Google::Apis::PlusV1::Activity::Actor::Name] - attr_accessor :name - - # The link to the actor's Google profile. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Verification status of actor. - # Corresponds to the JSON property `verification` - # @return [Google::Apis::PlusV1::Activity::Actor::Verification] - attr_accessor :verification - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @name = args[:name] if args.key?(:name) - @url = args[:url] if args.key?(:url) - @verification = args[:verification] if args.key?(:verification) - end - - # Actor info specific to particular clients. - class ClientSpecificActorInfo - include Google::Apis::Core::Hashable - - # Actor info specific to YouTube clients. - # Corresponds to the JSON property `youtubeActorInfo` - # @return [Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo] - attr_accessor :youtube_actor_info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info) - end - - # Actor info specific to YouTube clients. - class YoutubeActorInfo - include Google::Apis::Core::Hashable - - # ID of the YouTube channel owned by the Actor. - # Corresponds to the JSON property `channelId` - # @return [String] - attr_accessor :channel_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @channel_id = args[:channel_id] if args.key?(:channel_id) - end - end - end - - # The image representation of the actor. - class Image - include Google::Apis::Core::Hashable - - # The URL of the actor's profile photo. To resize the image and crop it to a - # square, append the query string ?sz=x, where x is the dimension in pixels of - # each side. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - end - end - - # An object representation of the individual components of name. - class Name - include Google::Apis::Core::Hashable - - # The family name ("last name") of the actor. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # The given name ("first name") of the actor. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @family_name = args[:family_name] if args.key?(:family_name) - @given_name = args[:given_name] if args.key?(:given_name) - end - end - - # Verification status of actor. - class Verification - include Google::Apis::Core::Hashable - - # Verification for one-time or manual processes. - # Corresponds to the JSON property `adHocVerified` - # @return [String] - attr_accessor :ad_hoc_verified - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified) - end - end - end - - # The object of this activity. - class Object - include Google::Apis::Core::Hashable - - # If this activity's object is itself another activity, such as when a person - # reshares an activity, this property specifies the original activity's actor. - # Corresponds to the JSON property `actor` - # @return [Google::Apis::PlusV1::Activity::Object::Actor] - attr_accessor :actor - - # The media objects attached to this activity. - # Corresponds to the JSON property `attachments` - # @return [Array] - attr_accessor :attachments - - # The HTML-formatted content, which is suitable for display. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # The ID of the object. When resharing an activity, this is the ID of the - # activity that is being reshared. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The type of the object. Possible values include, but are not limited to, the - # following values: - # - "note" - Textual content. - # - "activity" - A Google+ activity. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - # The content (text) as provided by the author, which is stored without any HTML - # formatting. When creating or updating an activity, this value must be supplied - # as plain text in the request. - # Corresponds to the JSON property `originalContent` - # @return [String] - attr_accessor :original_content - - # People who +1'd this activity. - # Corresponds to the JSON property `plusoners` - # @return [Google::Apis::PlusV1::Activity::Object::Plusoners] - attr_accessor :plusoners - - # Comments in reply to this activity. - # Corresponds to the JSON property `replies` - # @return [Google::Apis::PlusV1::Activity::Object::Replies] - attr_accessor :replies - - # People who reshared this activity. - # Corresponds to the JSON property `resharers` - # @return [Google::Apis::PlusV1::Activity::Object::Resharers] - attr_accessor :resharers - - # The URL that points to the linked resource. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @actor = args[:actor] if args.key?(:actor) - @attachments = args[:attachments] if args.key?(:attachments) - @content = args[:content] if args.key?(:content) - @id = args[:id] if args.key?(:id) - @object_type = args[:object_type] if args.key?(:object_type) - @original_content = args[:original_content] if args.key?(:original_content) - @plusoners = args[:plusoners] if args.key?(:plusoners) - @replies = args[:replies] if args.key?(:replies) - @resharers = args[:resharers] if args.key?(:resharers) - @url = args[:url] if args.key?(:url) - end - - # If this activity's object is itself another activity, such as when a person - # reshares an activity, this property specifies the original activity's actor. - class Actor - include Google::Apis::Core::Hashable - - # Actor info specific to particular clients. - # Corresponds to the JSON property `clientSpecificActorInfo` - # @return [Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo] - attr_accessor :client_specific_actor_info - - # The original actor's name, which is suitable for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # ID of the original actor. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The image representation of the original actor. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusV1::Activity::Object::Actor::Image] - attr_accessor :image - - # A link to the original actor's Google profile. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Verification status of actor. - # Corresponds to the JSON property `verification` - # @return [Google::Apis::PlusV1::Activity::Object::Actor::Verification] - attr_accessor :verification - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @url = args[:url] if args.key?(:url) - @verification = args[:verification] if args.key?(:verification) - end - - # Actor info specific to particular clients. - class ClientSpecificActorInfo - include Google::Apis::Core::Hashable - - # Actor info specific to YouTube clients. - # Corresponds to the JSON property `youtubeActorInfo` - # @return [Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo] - attr_accessor :youtube_actor_info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info) - end - - # Actor info specific to YouTube clients. - class YoutubeActorInfo - include Google::Apis::Core::Hashable - - # ID of the YouTube channel owned by the Actor. - # Corresponds to the JSON property `channelId` - # @return [String] - attr_accessor :channel_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @channel_id = args[:channel_id] if args.key?(:channel_id) - end - end - end - - # The image representation of the original actor. - class Image - include Google::Apis::Core::Hashable - - # A URL that points to a thumbnail photo of the original actor. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - end - end - - # Verification status of actor. - class Verification - include Google::Apis::Core::Hashable - - # Verification for one-time or manual processes. - # Corresponds to the JSON property `adHocVerified` - # @return [String] - attr_accessor :ad_hoc_verified - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified) - end - end - end - - # - class Attachment - include Google::Apis::Core::Hashable - - # If the attachment is an article, this property contains a snippet of text from - # the article. It can also include descriptions for other types. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # The title of the attachment, such as a photo caption or an article title. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # If the attachment is a video, the embeddable link. - # Corresponds to the JSON property `embed` - # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Embed] - attr_accessor :embed - - # The full image URL for photo attachments. - # Corresponds to the JSON property `fullImage` - # @return [Google::Apis::PlusV1::Activity::Object::Attachment::FullImage] - attr_accessor :full_image - - # The ID of the attachment. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The preview image for photos or videos. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Image] - attr_accessor :image - - # The type of media object. Possible values include, but are not limited to, the - # following values: - # - "photo" - A photo. - # - "album" - A photo album. - # - "video" - A video. - # - "article" - An article, specified by a link. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - # If the attachment is an album, this property is a list of potential additional - # thumbnails from the album. - # Corresponds to the JSON property `thumbnails` - # @return [Array] - attr_accessor :thumbnails - - # The link to the attachment, which should be of type text/html. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content = args[:content] if args.key?(:content) - @display_name = args[:display_name] if args.key?(:display_name) - @embed = args[:embed] if args.key?(:embed) - @full_image = args[:full_image] if args.key?(:full_image) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @object_type = args[:object_type] if args.key?(:object_type) - @thumbnails = args[:thumbnails] if args.key?(:thumbnails) - @url = args[:url] if args.key?(:url) - end - - # If the attachment is a video, the embeddable link. - class Embed - include Google::Apis::Core::Hashable - - # Media type of the link. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # URL of the link. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @url = args[:url] if args.key?(:url) - end - end - - # The full image URL for photo attachments. - class FullImage - include Google::Apis::Core::Hashable - - # The height, in pixels, of the linked resource. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # Media type of the link. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # URL of the image. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The width, in pixels, of the linked resource. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @type = args[:type] if args.key?(:type) - @url = args[:url] if args.key?(:url) - @width = args[:width] if args.key?(:width) - end - end - - # The preview image for photos or videos. - class Image - include Google::Apis::Core::Hashable - - # The height, in pixels, of the linked resource. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # Media type of the link. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Image URL. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The width, in pixels, of the linked resource. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @type = args[:type] if args.key?(:type) - @url = args[:url] if args.key?(:url) - @width = args[:width] if args.key?(:width) - end - end - - # - class Thumbnail - include Google::Apis::Core::Hashable - - # Potential name of the thumbnail. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Image resource. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image] - attr_accessor :image - - # URL of the webpage containing the image. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @image = args[:image] if args.key?(:image) - @url = args[:url] if args.key?(:url) - end - - # Image resource. - class Image - include Google::Apis::Core::Hashable - - # The height, in pixels, of the linked resource. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # Media type of the link. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Image url. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The width, in pixels, of the linked resource. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @type = args[:type] if args.key?(:type) - @url = args[:url] if args.key?(:url) - @width = args[:width] if args.key?(:width) - end - end - end - end - - # People who +1'd this activity. - class Plusoners - include Google::Apis::Core::Hashable - - # The URL for the collection of people who +1'd this activity. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # Total number of people who +1'd this activity. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @self_link = args[:self_link] if args.key?(:self_link) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - - # Comments in reply to this activity. - class Replies - include Google::Apis::Core::Hashable - - # The URL for the collection of comments in reply to this activity. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # Total number of comments on this activity. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @self_link = args[:self_link] if args.key?(:self_link) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - - # People who reshared this activity. - class Resharers - include Google::Apis::Core::Hashable - - # The URL for the collection of resharers. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # Total number of people who reshared this activity. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @self_link = args[:self_link] if args.key?(:self_link) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - end - - # The service provider that initially published this activity. - class Provider - include Google::Apis::Core::Hashable - - # Name of the service provider. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @title = args[:title] if args.key?(:title) - end - end - end - - # - class ActivityFeed - include Google::Apis::Core::Hashable - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The ID of this collection of activities. Deprecated. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The activities in this page of results. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Identifies this resource as a collection of activities. Value: "plus# - # activityFeed". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Link to the next page of activities. - # Corresponds to the JSON property `nextLink` - # @return [String] - attr_accessor :next_link - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Link to this activity resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # The title of this collection of activities, which is a truncated portion of - # the content. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The time at which this collection of activities was last updated. Formatted as - # an RFC 3339 timestamp. - # Corresponds to the JSON property `updated` - # @return [DateTime] - attr_accessor :updated - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_link = args[:next_link] if args.key?(:next_link) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @self_link = args[:self_link] if args.key?(:self_link) - @title = args[:title] if args.key?(:title) - @updated = args[:updated] if args.key?(:updated) - end - end - - # - class Comment - include Google::Apis::Core::Hashable - - # The person who posted this comment. - # Corresponds to the JSON property `actor` - # @return [Google::Apis::PlusV1::Comment::Actor] - attr_accessor :actor - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The ID of this comment. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The activity this comment replied to. - # Corresponds to the JSON property `inReplyTo` - # @return [Array] - attr_accessor :in_reply_to - - # Identifies this resource as a comment. Value: "plus#comment". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The object of this comment. - # Corresponds to the JSON property `object` - # @return [Google::Apis::PlusV1::Comment::Object] - attr_accessor :object - - # People who +1'd this comment. - # Corresponds to the JSON property `plusoners` - # @return [Google::Apis::PlusV1::Comment::Plusoners] - attr_accessor :plusoners - - # The time at which this comment was initially published. Formatted as an RFC - # 3339 timestamp. - # Corresponds to the JSON property `published` - # @return [DateTime] - attr_accessor :published - - # Link to this comment resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # The time at which this comment was last updated. Formatted as an RFC 3339 - # timestamp. - # Corresponds to the JSON property `updated` - # @return [DateTime] - attr_accessor :updated - - # This comment's verb, indicating what action was performed. Possible values are: - # - # - "post" - Publish content to the stream. - # Corresponds to the JSON property `verb` - # @return [String] - attr_accessor :verb - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @actor = args[:actor] if args.key?(:actor) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to) - @kind = args[:kind] if args.key?(:kind) - @object = args[:object] if args.key?(:object) - @plusoners = args[:plusoners] if args.key?(:plusoners) - @published = args[:published] if args.key?(:published) - @self_link = args[:self_link] if args.key?(:self_link) - @updated = args[:updated] if args.key?(:updated) - @verb = args[:verb] if args.key?(:verb) - end - - # The person who posted this comment. - class Actor - include Google::Apis::Core::Hashable - - # Actor info specific to particular clients. - # Corresponds to the JSON property `clientSpecificActorInfo` - # @return [Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo] - attr_accessor :client_specific_actor_info - - # The name of this actor, suitable for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The ID of the actor. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The image representation of this actor. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusV1::Comment::Actor::Image] - attr_accessor :image - - # A link to the Person resource for this actor. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Verification status of actor. - # Corresponds to the JSON property `verification` - # @return [Google::Apis::PlusV1::Comment::Actor::Verification] - attr_accessor :verification - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @url = args[:url] if args.key?(:url) - @verification = args[:verification] if args.key?(:verification) - end - - # Actor info specific to particular clients. - class ClientSpecificActorInfo - include Google::Apis::Core::Hashable - - # Actor info specific to YouTube clients. - # Corresponds to the JSON property `youtubeActorInfo` - # @return [Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo] - attr_accessor :youtube_actor_info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info) - end - - # Actor info specific to YouTube clients. - class YoutubeActorInfo - include Google::Apis::Core::Hashable - - # ID of the YouTube channel owned by the Actor. - # Corresponds to the JSON property `channelId` - # @return [String] - attr_accessor :channel_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @channel_id = args[:channel_id] if args.key?(:channel_id) - end - end - end - - # The image representation of this actor. - class Image - include Google::Apis::Core::Hashable - - # The URL of the actor's profile photo. To resize the image and crop it to a - # square, append the query string ?sz=x, where x is the dimension in pixels of - # each side. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - end - end - - # Verification status of actor. - class Verification - include Google::Apis::Core::Hashable - - # Verification for one-time or manual processes. - # Corresponds to the JSON property `adHocVerified` - # @return [String] - attr_accessor :ad_hoc_verified - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified) - end - end - end - - # - class InReplyTo - include Google::Apis::Core::Hashable - - # The ID of the activity. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The URL of the activity. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @url = args[:url] if args.key?(:url) - end - end - - # The object of this comment. - class Object - include Google::Apis::Core::Hashable - - # The HTML-formatted content, suitable for display. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # The object type of this comment. Possible values are: - # - "comment" - A comment in reply to an activity. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - # The content (text) as provided by the author, stored without any HTML - # formatting. When creating or updating a comment, this value must be supplied - # as plain text in the request. - # Corresponds to the JSON property `originalContent` - # @return [String] - attr_accessor :original_content - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content = args[:content] if args.key?(:content) - @object_type = args[:object_type] if args.key?(:object_type) - @original_content = args[:original_content] if args.key?(:original_content) - end - end - - # People who +1'd this comment. - class Plusoners - include Google::Apis::Core::Hashable - - # Total number of people who +1'd this comment. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - end - - # - class CommentFeed - include Google::Apis::Core::Hashable - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The ID of this collection of comments. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The comments in this page of results. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Identifies this resource as a collection of comments. Value: "plus#commentFeed" - # . - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Link to the next page of activities. - # Corresponds to the JSON property `nextLink` - # @return [String] - attr_accessor :next_link - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The title of this collection of comments. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The time at which this collection of comments was last updated. Formatted as - # an RFC 3339 timestamp. - # Corresponds to the JSON property `updated` - # @return [DateTime] - attr_accessor :updated - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_link = args[:next_link] if args.key?(:next_link) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @title = args[:title] if args.key?(:title) - @updated = args[:updated] if args.key?(:updated) - end - end - - # - class PeopleFeed - include Google::Apis::Core::Hashable - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The people in this page of results. Each item includes the id, displayName, - # image, and url for the person. To retrieve additional profile data, see the - # people.get method. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Identifies this resource as a collection of people. Value: "plus#peopleFeed". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Link to this resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # The title of this collection of people. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The total number of people available in this list. The number of people in a - # response might be smaller due to paging. This might not be set for all - # collections. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @self_link = args[:self_link] if args.key?(:self_link) - @title = args[:title] if args.key?(:title) - @total_items = args[:total_items] if args.key?(:total_items) - end - end - - # - class Person - include Google::Apis::Core::Hashable - - # A short biography for this person. - # Corresponds to the JSON property `aboutMe` - # @return [String] - attr_accessor :about_me - - # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 - # or older. Age is determined from the user's birthday using Western age - # reckoning. - # Corresponds to the JSON property `ageRange` - # @return [Google::Apis::PlusV1::Person::AgeRange] - attr_accessor :age_range - - # The person's date of birth, represented as YYYY-MM-DD. - # Corresponds to the JSON property `birthday` - # @return [String] - attr_accessor :birthday - - # The "bragging rights" line of this person. - # Corresponds to the JSON property `braggingRights` - # @return [String] - attr_accessor :bragging_rights - - # For followers who are visible, the number of people who have added this person - # or page to a circle. - # Corresponds to the JSON property `circledByCount` - # @return [Fixnum] - attr_accessor :circled_by_count - - # The cover photo content. - # Corresponds to the JSON property `cover` - # @return [Google::Apis::PlusV1::Person::Cover] - attr_accessor :cover - - # (this field is not currently used) - # Corresponds to the JSON property `currentLocation` - # @return [String] - attr_accessor :current_location - - # The name of this person, which is suitable for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The hosted domain name for the user's Google Apps account. For instance, - # example.com. The plus.profile.emails.read or email scope is needed to get this - # domain name. - # Corresponds to the JSON property `domain` - # @return [String] - attr_accessor :domain - - # A list of email addresses that this person has, including their Google account - # email address, and the public verified email addresses on their Google+ - # profile. The plus.profile.emails.read scope is needed to retrieve these email - # addresses, or the email scope can be used to retrieve just the Google account - # email address. - # Corresponds to the JSON property `emails` - # @return [Array] - attr_accessor :emails - - # ETag of this response for caching purposes. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The person's gender. Possible values include, but are not limited to, the - # following values: - # - "male" - Male gender. - # - "female" - Female gender. - # - "other" - Other. - # Corresponds to the JSON property `gender` - # @return [String] - attr_accessor :gender - - # The ID of this person. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The representation of the person's profile photo. - # Corresponds to the JSON property `image` - # @return [Google::Apis::PlusV1::Person::Image] - attr_accessor :image - - # Whether this user has signed up for Google+. - # Corresponds to the JSON property `isPlusUser` - # @return [Boolean] - attr_accessor :is_plus_user - alias_method :is_plus_user?, :is_plus_user - - # Identifies this resource as a person. Value: "plus#person". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The user's preferred language for rendering. - # Corresponds to the JSON property `language` - # @return [String] - attr_accessor :language - - # An object representation of the individual components of a person's name. - # Corresponds to the JSON property `name` - # @return [Google::Apis::PlusV1::Person::Name] - attr_accessor :name - - # The nickname of this person. - # Corresponds to the JSON property `nickname` - # @return [String] - attr_accessor :nickname - - # Type of person within Google+. Possible values include, but are not limited to, - # the following values: - # - "person" - represents an actual person. - # - "page" - represents a page. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - # The occupation of this person. - # Corresponds to the JSON property `occupation` - # @return [String] - attr_accessor :occupation - - # A list of current or past organizations with which this person is associated. - # Corresponds to the JSON property `organizations` - # @return [Array] - attr_accessor :organizations - - # A list of places where this person has lived. - # Corresponds to the JSON property `placesLived` - # @return [Array] - attr_accessor :places_lived - - # If a Google+ Page, the number of people who have +1'd this page. - # Corresponds to the JSON property `plusOneCount` - # @return [Fixnum] - attr_accessor :plus_one_count - - # The person's relationship status. Possible values include, but are not limited - # to, the following values: - # - "single" - Person is single. - # - "in_a_relationship" - Person is in a relationship. - # - "engaged" - Person is engaged. - # - "married" - Person is married. - # - "its_complicated" - The relationship is complicated. - # - "open_relationship" - Person is in an open relationship. - # - "widowed" - Person is widowed. - # - "in_domestic_partnership" - Person is in a domestic partnership. - # - "in_civil_union" - Person is in a civil union. - # Corresponds to the JSON property `relationshipStatus` - # @return [String] - attr_accessor :relationship_status - - # The person's skills. - # Corresponds to the JSON property `skills` - # @return [String] - attr_accessor :skills - - # The brief description (tagline) of this person. - # Corresponds to the JSON property `tagline` - # @return [String] - attr_accessor :tagline - - # The URL of this person's profile. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # A list of URLs for this person. - # Corresponds to the JSON property `urls` - # @return [Array] - attr_accessor :urls - - # Whether the person or Google+ Page has been verified. - # Corresponds to the JSON property `verified` - # @return [Boolean] - attr_accessor :verified - alias_method :verified?, :verified - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @about_me = args[:about_me] if args.key?(:about_me) - @age_range = args[:age_range] if args.key?(:age_range) - @birthday = args[:birthday] if args.key?(:birthday) - @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights) - @circled_by_count = args[:circled_by_count] if args.key?(:circled_by_count) - @cover = args[:cover] if args.key?(:cover) - @current_location = args[:current_location] if args.key?(:current_location) - @display_name = args[:display_name] if args.key?(:display_name) - @domain = args[:domain] if args.key?(:domain) - @emails = args[:emails] if args.key?(:emails) - @etag = args[:etag] if args.key?(:etag) - @gender = args[:gender] if args.key?(:gender) - @id = args[:id] if args.key?(:id) - @image = args[:image] if args.key?(:image) - @is_plus_user = args[:is_plus_user] if args.key?(:is_plus_user) - @kind = args[:kind] if args.key?(:kind) - @language = args[:language] if args.key?(:language) - @name = args[:name] if args.key?(:name) - @nickname = args[:nickname] if args.key?(:nickname) - @object_type = args[:object_type] if args.key?(:object_type) - @occupation = args[:occupation] if args.key?(:occupation) - @organizations = args[:organizations] if args.key?(:organizations) - @places_lived = args[:places_lived] if args.key?(:places_lived) - @plus_one_count = args[:plus_one_count] if args.key?(:plus_one_count) - @relationship_status = args[:relationship_status] if args.key?(:relationship_status) - @skills = args[:skills] if args.key?(:skills) - @tagline = args[:tagline] if args.key?(:tagline) - @url = args[:url] if args.key?(:url) - @urls = args[:urls] if args.key?(:urls) - @verified = args[:verified] if args.key?(:verified) - end - - # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 - # or older. Age is determined from the user's birthday using Western age - # reckoning. - class AgeRange - include Google::Apis::Core::Hashable - - # The age range's upper bound, if any. Possible values include, but are not - # limited to, the following: - # - "17" - for age 17 - # - "20" - for age 20 - # Corresponds to the JSON property `max` - # @return [Fixnum] - attr_accessor :max - - # The age range's lower bound, if any. Possible values include, but are not - # limited to, the following: - # - "21" - for age 21 - # - "18" - for age 18 - # Corresponds to the JSON property `min` - # @return [Fixnum] - attr_accessor :min - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max = args[:max] if args.key?(:max) - @min = args[:min] if args.key?(:min) - end - end - - # The cover photo content. - class Cover - include Google::Apis::Core::Hashable - - # Extra information about the cover photo. - # Corresponds to the JSON property `coverInfo` - # @return [Google::Apis::PlusV1::Person::Cover::CoverInfo] - attr_accessor :cover_info - - # The person's primary cover image. - # Corresponds to the JSON property `coverPhoto` - # @return [Google::Apis::PlusV1::Person::Cover::CoverPhoto] - attr_accessor :cover_photo - - # The layout of the cover art. Possible values include, but are not limited to, - # the following values: - # - "banner" - One large image banner. - # Corresponds to the JSON property `layout` - # @return [String] - attr_accessor :layout - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cover_info = args[:cover_info] if args.key?(:cover_info) - @cover_photo = args[:cover_photo] if args.key?(:cover_photo) - @layout = args[:layout] if args.key?(:layout) - end - - # Extra information about the cover photo. - class CoverInfo - include Google::Apis::Core::Hashable - - # The difference between the left position of the cover image and the actual - # displayed cover image. Only valid for banner layout. - # Corresponds to the JSON property `leftImageOffset` - # @return [Fixnum] - attr_accessor :left_image_offset - - # The difference between the top position of the cover image and the actual - # displayed cover image. Only valid for banner layout. - # Corresponds to the JSON property `topImageOffset` - # @return [Fixnum] - attr_accessor :top_image_offset - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @left_image_offset = args[:left_image_offset] if args.key?(:left_image_offset) - @top_image_offset = args[:top_image_offset] if args.key?(:top_image_offset) - end - end - - # The person's primary cover image. - class CoverPhoto - include Google::Apis::Core::Hashable - - # The height of the image. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # The URL of the image. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The width of the image. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @url = args[:url] if args.key?(:url) - @width = args[:width] if args.key?(:width) - end - end - end - - # - class Email - include Google::Apis::Core::Hashable - - # The type of address. Possible values include, but are not limited to, the - # following values: - # - "account" - Google account email address. - # - "home" - Home email address. - # - "work" - Work email address. - # - "other" - Other. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The email address. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @value = args[:value] if args.key?(:value) - end - end - - # The representation of the person's profile photo. - class Image - include Google::Apis::Core::Hashable - - # Whether the person's profile photo is the default one - # Corresponds to the JSON property `isDefault` - # @return [Boolean] - attr_accessor :is_default - alias_method :is_default?, :is_default - - # The URL of the person's profile photo. To resize the image and crop it to a - # square, append the query string ?sz=x, where x is the dimension in pixels of - # each side. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_default = args[:is_default] if args.key?(:is_default) - @url = args[:url] if args.key?(:url) - end - end - - # An object representation of the individual components of a person's name. - class Name - include Google::Apis::Core::Hashable - - # The family name (last name) of this person. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # The full name of this person, including middle names, suffixes, etc. - # Corresponds to the JSON property `formatted` - # @return [String] - attr_accessor :formatted - - # The given name (first name) of this person. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - - # The honorific prefixes (such as "Dr." or "Mrs.") for this person. - # Corresponds to the JSON property `honorificPrefix` - # @return [String] - attr_accessor :honorific_prefix - - # The honorific suffixes (such as "Jr.") for this person. - # Corresponds to the JSON property `honorificSuffix` - # @return [String] - attr_accessor :honorific_suffix - - # The middle name of this person. - # Corresponds to the JSON property `middleName` - # @return [String] - attr_accessor :middle_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @family_name = args[:family_name] if args.key?(:family_name) - @formatted = args[:formatted] if args.key?(:formatted) - @given_name = args[:given_name] if args.key?(:given_name) - @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) - @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) - @middle_name = args[:middle_name] if args.key?(:middle_name) - end - end - - # - class Organization - include Google::Apis::Core::Hashable - - # The department within the organization. Deprecated. - # Corresponds to the JSON property `department` - # @return [String] - attr_accessor :department - - # A short description of the person's role in this organization. Deprecated. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The date that the person left this organization. - # Corresponds to the JSON property `endDate` - # @return [String] - attr_accessor :end_date - - # The location of this organization. Deprecated. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # The name of the organization. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # If "true", indicates this organization is the person's primary one, which is - # typically interpreted as the current one. - # Corresponds to the JSON property `primary` - # @return [Boolean] - attr_accessor :primary - alias_method :primary?, :primary - - # The date that the person joined this organization. - # Corresponds to the JSON property `startDate` - # @return [String] - attr_accessor :start_date - - # The person's job title or role within the organization. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The type of organization. Possible values include, but are not limited to, the - # following values: - # - "work" - Work. - # - "school" - School. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @department = args[:department] if args.key?(:department) - @description = args[:description] if args.key?(:description) - @end_date = args[:end_date] if args.key?(:end_date) - @location = args[:location] if args.key?(:location) - @name = args[:name] if args.key?(:name) - @primary = args[:primary] if args.key?(:primary) - @start_date = args[:start_date] if args.key?(:start_date) - @title = args[:title] if args.key?(:title) - @type = args[:type] if args.key?(:type) - end - end - - # - class PlacesLived - include Google::Apis::Core::Hashable - - # If "true", this place of residence is this person's primary residence. - # Corresponds to the JSON property `primary` - # @return [Boolean] - attr_accessor :primary - alias_method :primary?, :primary - - # A place where this person has lived. For example: "Seattle, WA", "Near Toronto" - # . - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @primary = args[:primary] if args.key?(:primary) - @value = args[:value] if args.key?(:value) - end - end - - # - class Url - include Google::Apis::Core::Hashable - - # The label of the URL. - # Corresponds to the JSON property `label` - # @return [String] - attr_accessor :label - - # The type of URL. Possible values include, but are not limited to, the - # following values: - # - "otherProfile" - URL for another profile. - # - "contributor" - URL to a site for which this person is a contributor. - # - "website" - URL for this Google+ Page's primary website. - # - "other" - Other URL. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The URL value. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @label = args[:label] if args.key?(:label) - @type = args[:type] if args.key?(:type) - @value = args[:value] if args.key?(:value) - end - end - end - - # - class Place - include Google::Apis::Core::Hashable - - # The physical address of the place. - # Corresponds to the JSON property `address` - # @return [Google::Apis::PlusV1::Place::Address] - attr_accessor :address - - # The display name of the place. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The id of the place. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Identifies this resource as a place. Value: "plus#place". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The position of the place. - # Corresponds to the JSON property `position` - # @return [Google::Apis::PlusV1::Place::Position] - attr_accessor :position - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @address = args[:address] if args.key?(:address) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @kind = args[:kind] if args.key?(:kind) - @position = args[:position] if args.key?(:position) - end - - # The physical address of the place. - class Address - include Google::Apis::Core::Hashable - - # The formatted address for display. - # Corresponds to the JSON property `formatted` - # @return [String] - attr_accessor :formatted - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formatted = args[:formatted] if args.key?(:formatted) - end - end - - # The position of the place. - class Position - include Google::Apis::Core::Hashable - - # The latitude of this position. - # Corresponds to the JSON property `latitude` - # @return [Float] - attr_accessor :latitude - - # The longitude of this position. - # Corresponds to the JSON property `longitude` - # @return [Float] - attr_accessor :longitude - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @latitude = args[:latitude] if args.key?(:latitude) - @longitude = args[:longitude] if args.key?(:longitude) - end - end - end - - # - class PlusAclentryResource - include Google::Apis::Core::Hashable - - # A descriptive name for this entry. Suitable for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The ID of the entry. For entries of type "person" or "circle", this is the ID - # of the resource. For other types, this property is not set. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The type of entry describing to whom access is granted. Possible values are: - # - "person" - Access to an individual. - # - "circle" - Access to members of a circle. - # - "myCircles" - Access to members of all the person's circles. - # - "extendedCircles" - Access to members of all the person's circles, plus all - # of the people in their circles. - # - "domain" - Access to members of the person's Google Apps domain. - # - "public" - Access to anyone on the web. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @id = args[:id] if args.key?(:id) - @type = args[:type] if args.key?(:type) - end - end - end - end -end diff --git a/generated/google/apis/plus_v1/representations.rb b/generated/google/apis/plus_v1/representations.rb deleted file mode 100644 index 7b4241672..000000000 --- a/generated/google/apis/plus_v1/representations.rb +++ /dev/null @@ -1,907 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'date' -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module PlusV1 - - class Acl - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Activity - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Actor - class Representation < Google::Apis::Core::JsonRepresentation; end - - class ClientSpecificActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - class YoutubeActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Name - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Verification - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Object - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Actor - class Representation < Google::Apis::Core::JsonRepresentation; end - - class ClientSpecificActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - class YoutubeActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Verification - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Attachment - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Embed - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FullImage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Thumbnail - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Plusoners - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Replies - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Resharers - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Provider - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class ActivityFeed - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Comment - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Actor - class Representation < Google::Apis::Core::JsonRepresentation; end - - class ClientSpecificActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - class YoutubeActorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Verification - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class InReplyTo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Object - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Plusoners - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class CommentFeed - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PeopleFeed - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Person - class Representation < Google::Apis::Core::JsonRepresentation; end - - class AgeRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Cover - class Representation < Google::Apis::Core::JsonRepresentation; end - - class CoverInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CoverPhoto - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Email - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Name - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Organization - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PlacesLived - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Url - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Place - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Address - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Position - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class PlusAclentryResource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Acl - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - collection :items, as: 'items', class: Google::Apis::PlusV1::PlusAclentryResource, decorator: Google::Apis::PlusV1::PlusAclentryResource::Representation - - property :kind, as: 'kind' - end - end - - class Activity - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :access, as: 'access', class: Google::Apis::PlusV1::Acl, decorator: Google::Apis::PlusV1::Acl::Representation - - property :actor, as: 'actor', class: Google::Apis::PlusV1::Activity::Actor, decorator: Google::Apis::PlusV1::Activity::Actor::Representation - - property :address, as: 'address' - property :annotation, as: 'annotation' - property :crosspost_source, as: 'crosspostSource' - property :etag, as: 'etag' - property :geocode, as: 'geocode' - property :id, as: 'id' - property :kind, as: 'kind' - property :location, as: 'location', class: Google::Apis::PlusV1::Place, decorator: Google::Apis::PlusV1::Place::Representation - - property :object, as: 'object', class: Google::Apis::PlusV1::Activity::Object, decorator: Google::Apis::PlusV1::Activity::Object::Representation - - property :place_id, as: 'placeId' - property :place_name, as: 'placeName' - property :provider, as: 'provider', class: Google::Apis::PlusV1::Activity::Provider, decorator: Google::Apis::PlusV1::Activity::Provider::Representation - - property :published, as: 'published', type: DateTime - - property :radius, as: 'radius' - property :title, as: 'title' - property :updated, as: 'updated', type: DateTime - - property :url, as: 'url' - property :verb, as: 'verb' - end - - class Actor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_specific_actor_info, as: 'clientSpecificActorInfo', class: Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo, decorator: Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::Representation - - property :display_name, as: 'displayName' - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusV1::Activity::Actor::Image, decorator: Google::Apis::PlusV1::Activity::Actor::Image::Representation - - property :name, as: 'name', class: Google::Apis::PlusV1::Activity::Actor::Name, decorator: Google::Apis::PlusV1::Activity::Actor::Name::Representation - - property :url, as: 'url' - property :verification, as: 'verification', class: Google::Apis::PlusV1::Activity::Actor::Verification, decorator: Google::Apis::PlusV1::Activity::Actor::Verification::Representation - - end - - class ClientSpecificActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :youtube_actor_info, as: 'youtubeActorInfo', class: Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo, decorator: Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo::Representation - - end - - class YoutubeActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :channel_id, as: 'channelId' - end - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - - class Name - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :family_name, as: 'familyName' - property :given_name, as: 'givenName' - end - end - - class Verification - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ad_hoc_verified, as: 'adHocVerified' - end - end - end - - class Object - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :actor, as: 'actor', class: Google::Apis::PlusV1::Activity::Object::Actor, decorator: Google::Apis::PlusV1::Activity::Object::Actor::Representation - - collection :attachments, as: 'attachments', class: Google::Apis::PlusV1::Activity::Object::Attachment, decorator: Google::Apis::PlusV1::Activity::Object::Attachment::Representation - - property :content, as: 'content' - property :id, as: 'id' - property :object_type, as: 'objectType' - property :original_content, as: 'originalContent' - property :plusoners, as: 'plusoners', class: Google::Apis::PlusV1::Activity::Object::Plusoners, decorator: Google::Apis::PlusV1::Activity::Object::Plusoners::Representation - - property :replies, as: 'replies', class: Google::Apis::PlusV1::Activity::Object::Replies, decorator: Google::Apis::PlusV1::Activity::Object::Replies::Representation - - property :resharers, as: 'resharers', class: Google::Apis::PlusV1::Activity::Object::Resharers, decorator: Google::Apis::PlusV1::Activity::Object::Resharers::Representation - - property :url, as: 'url' - end - - class Actor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_specific_actor_info, as: 'clientSpecificActorInfo', class: Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo, decorator: Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo::Representation - - property :display_name, as: 'displayName' - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusV1::Activity::Object::Actor::Image, decorator: Google::Apis::PlusV1::Activity::Object::Actor::Image::Representation - - property :url, as: 'url' - property :verification, as: 'verification', class: Google::Apis::PlusV1::Activity::Object::Actor::Verification, decorator: Google::Apis::PlusV1::Activity::Object::Actor::Verification::Representation - - end - - class ClientSpecificActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :youtube_actor_info, as: 'youtubeActorInfo', class: Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo, decorator: Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo::Representation - - end - - class YoutubeActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :channel_id, as: 'channelId' - end - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - - class Verification - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ad_hoc_verified, as: 'adHocVerified' - end - end - end - - class Attachment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content, as: 'content' - property :display_name, as: 'displayName' - property :embed, as: 'embed', class: Google::Apis::PlusV1::Activity::Object::Attachment::Embed, decorator: Google::Apis::PlusV1::Activity::Object::Attachment::Embed::Representation - - property :full_image, as: 'fullImage', class: Google::Apis::PlusV1::Activity::Object::Attachment::FullImage, decorator: Google::Apis::PlusV1::Activity::Object::Attachment::FullImage::Representation - - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusV1::Activity::Object::Attachment::Image, decorator: Google::Apis::PlusV1::Activity::Object::Attachment::Image::Representation - - property :object_type, as: 'objectType' - collection :thumbnails, as: 'thumbnails', class: Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail, decorator: Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Representation - - property :url, as: 'url' - end - - class Embed - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :url, as: 'url' - end - end - - class FullImage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :type, as: 'type' - property :url, as: 'url' - property :width, as: 'width' - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :type, as: 'type' - property :url, as: 'url' - property :width, as: 'width' - end - end - - class Thumbnail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :image, as: 'image', class: Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image, decorator: Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image::Representation - - property :url, as: 'url' - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :type, as: 'type' - property :url, as: 'url' - property :width, as: 'width' - end - end - end - end - - class Plusoners - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :self_link, as: 'selfLink' - property :total_items, as: 'totalItems' - end - end - - class Replies - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :self_link, as: 'selfLink' - property :total_items, as: 'totalItems' - end - end - - class Resharers - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :self_link, as: 'selfLink' - property :total_items, as: 'totalItems' - end - end - end - - class Provider - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - end - end - end - - class ActivityFeed - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, as: 'etag' - property :id, as: 'id' - collection :items, as: 'items', class: Google::Apis::PlusV1::Activity, decorator: Google::Apis::PlusV1::Activity::Representation - - property :kind, as: 'kind' - property :next_link, as: 'nextLink' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - property :title, as: 'title' - property :updated, as: 'updated', type: DateTime - - end - end - - class Comment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :actor, as: 'actor', class: Google::Apis::PlusV1::Comment::Actor, decorator: Google::Apis::PlusV1::Comment::Actor::Representation - - property :etag, as: 'etag' - property :id, as: 'id' - collection :in_reply_to, as: 'inReplyTo', class: Google::Apis::PlusV1::Comment::InReplyTo, decorator: Google::Apis::PlusV1::Comment::InReplyTo::Representation - - property :kind, as: 'kind' - property :object, as: 'object', class: Google::Apis::PlusV1::Comment::Object, decorator: Google::Apis::PlusV1::Comment::Object::Representation - - property :plusoners, as: 'plusoners', class: Google::Apis::PlusV1::Comment::Plusoners, decorator: Google::Apis::PlusV1::Comment::Plusoners::Representation - - property :published, as: 'published', type: DateTime - - property :self_link, as: 'selfLink' - property :updated, as: 'updated', type: DateTime - - property :verb, as: 'verb' - end - - class Actor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_specific_actor_info, as: 'clientSpecificActorInfo', class: Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo, decorator: Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo::Representation - - property :display_name, as: 'displayName' - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusV1::Comment::Actor::Image, decorator: Google::Apis::PlusV1::Comment::Actor::Image::Representation - - property :url, as: 'url' - property :verification, as: 'verification', class: Google::Apis::PlusV1::Comment::Actor::Verification, decorator: Google::Apis::PlusV1::Comment::Actor::Verification::Representation - - end - - class ClientSpecificActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :youtube_actor_info, as: 'youtubeActorInfo', class: Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo, decorator: Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo::Representation - - end - - class YoutubeActorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :channel_id, as: 'channelId' - end - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - - class Verification - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ad_hoc_verified, as: 'adHocVerified' - end - end - end - - class InReplyTo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :url, as: 'url' - end - end - - class Object - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content, as: 'content' - property :object_type, as: 'objectType' - property :original_content, as: 'originalContent' - end - end - - class Plusoners - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :total_items, as: 'totalItems' - end - end - end - - class CommentFeed - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, as: 'etag' - property :id, as: 'id' - collection :items, as: 'items', class: Google::Apis::PlusV1::Comment, decorator: Google::Apis::PlusV1::Comment::Representation - - property :kind, as: 'kind' - property :next_link, as: 'nextLink' - property :next_page_token, as: 'nextPageToken' - property :title, as: 'title' - property :updated, as: 'updated', type: DateTime - - end - end - - class PeopleFeed - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, as: 'etag' - collection :items, as: 'items', class: Google::Apis::PlusV1::Person, decorator: Google::Apis::PlusV1::Person::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - property :title, as: 'title' - property :total_items, as: 'totalItems' - end - end - - class Person - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :about_me, as: 'aboutMe' - property :age_range, as: 'ageRange', class: Google::Apis::PlusV1::Person::AgeRange, decorator: Google::Apis::PlusV1::Person::AgeRange::Representation - - property :birthday, as: 'birthday' - property :bragging_rights, as: 'braggingRights' - property :circled_by_count, as: 'circledByCount' - property :cover, as: 'cover', class: Google::Apis::PlusV1::Person::Cover, decorator: Google::Apis::PlusV1::Person::Cover::Representation - - property :current_location, as: 'currentLocation' - property :display_name, as: 'displayName' - property :domain, as: 'domain' - collection :emails, as: 'emails', class: Google::Apis::PlusV1::Person::Email, decorator: Google::Apis::PlusV1::Person::Email::Representation - - property :etag, as: 'etag' - property :gender, as: 'gender' - property :id, as: 'id' - property :image, as: 'image', class: Google::Apis::PlusV1::Person::Image, decorator: Google::Apis::PlusV1::Person::Image::Representation - - property :is_plus_user, as: 'isPlusUser' - property :kind, as: 'kind' - property :language, as: 'language' - property :name, as: 'name', class: Google::Apis::PlusV1::Person::Name, decorator: Google::Apis::PlusV1::Person::Name::Representation - - property :nickname, as: 'nickname' - property :object_type, as: 'objectType' - property :occupation, as: 'occupation' - collection :organizations, as: 'organizations', class: Google::Apis::PlusV1::Person::Organization, decorator: Google::Apis::PlusV1::Person::Organization::Representation - - collection :places_lived, as: 'placesLived', class: Google::Apis::PlusV1::Person::PlacesLived, decorator: Google::Apis::PlusV1::Person::PlacesLived::Representation - - property :plus_one_count, as: 'plusOneCount' - property :relationship_status, as: 'relationshipStatus' - property :skills, as: 'skills' - property :tagline, as: 'tagline' - property :url, as: 'url' - collection :urls, as: 'urls', class: Google::Apis::PlusV1::Person::Url, decorator: Google::Apis::PlusV1::Person::Url::Representation - - property :verified, as: 'verified' - end - - class AgeRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max, as: 'max' - property :min, as: 'min' - end - end - - class Cover - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cover_info, as: 'coverInfo', class: Google::Apis::PlusV1::Person::Cover::CoverInfo, decorator: Google::Apis::PlusV1::Person::Cover::CoverInfo::Representation - - property :cover_photo, as: 'coverPhoto', class: Google::Apis::PlusV1::Person::Cover::CoverPhoto, decorator: Google::Apis::PlusV1::Person::Cover::CoverPhoto::Representation - - property :layout, as: 'layout' - end - - class CoverInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :left_image_offset, as: 'leftImageOffset' - property :top_image_offset, as: 'topImageOffset' - end - end - - class CoverPhoto - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :url, as: 'url' - property :width, as: 'width' - end - end - end - - class Email - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :value, as: 'value' - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :is_default, as: 'isDefault' - property :url, as: 'url' - end - end - - class Name - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :family_name, as: 'familyName' - property :formatted, as: 'formatted' - property :given_name, as: 'givenName' - property :honorific_prefix, as: 'honorificPrefix' - property :honorific_suffix, as: 'honorificSuffix' - property :middle_name, as: 'middleName' - end - end - - class Organization - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :department, as: 'department' - property :description, as: 'description' - property :end_date, as: 'endDate' - property :location, as: 'location' - property :name, as: 'name' - property :primary, as: 'primary' - property :start_date, as: 'startDate' - property :title, as: 'title' - property :type, as: 'type' - end - end - - class PlacesLived - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :primary, as: 'primary' - property :value, as: 'value' - end - end - - class Url - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :label, as: 'label' - property :type, as: 'type' - property :value, as: 'value' - end - end - end - - class Place - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :address, as: 'address', class: Google::Apis::PlusV1::Place::Address, decorator: Google::Apis::PlusV1::Place::Address::Representation - - property :display_name, as: 'displayName' - property :id, as: 'id' - property :kind, as: 'kind' - property :position, as: 'position', class: Google::Apis::PlusV1::Place::Position, decorator: Google::Apis::PlusV1::Place::Position::Representation - - end - - class Address - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatted, as: 'formatted' - end - end - - class Position - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :latitude, as: 'latitude' - property :longitude, as: 'longitude' - end - end - end - - class PlusAclentryResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :id, as: 'id' - property :type, as: 'type' - end - end - end - end -end diff --git a/generated/google/apis/plus_v1/service.rb b/generated/google/apis/plus_v1/service.rb deleted file mode 100644 index 42eca17c4..000000000 --- a/generated/google/apis/plus_v1/service.rb +++ /dev/null @@ -1,451 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module PlusV1 - # Google+ API - # - # Builds on top of the Google+ platform. - # - # @example - # require 'google/apis/plus_v1' - # - # Plus = Google::Apis::PlusV1 # Alias the module - # service = Plus::PlusService.new - # - # @see https://developers.google.com/+/api/ - class PlusService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - - # @return [String] - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - attr_accessor :quota_user - - # @return [String] - # Deprecated. Please use quotaUser instead. - attr_accessor :user_ip - - def initialize - super('https://www.googleapis.com/', 'plus/v1/') - @batch_path = 'batch/plus/v1' - end - - # Get an activity. - # @param [String] activity_id - # The ID of the activity to get. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusV1::Activity] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusV1::Activity] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_activity(activity_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'activities/{activityId}', options) - command.response_representation = Google::Apis::PlusV1::Activity::Representation - command.response_class = Google::Apis::PlusV1::Activity - command.params['activityId'] = activity_id unless activity_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the activities in the specified collection for a particular user. - # @param [String] user_id - # The ID of the user to get activities for. The special value "me" can be used - # to indicate the authenticated user. - # @param [String] collection - # The collection of activities to list. - # @param [Fixnum] max_results - # The maximum number of activities to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusV1::ActivityFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusV1::ActivityFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_activities(user_id, collection, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'people/{userId}/activities/{collection}', options) - command.response_representation = Google::Apis::PlusV1::ActivityFeed::Representation - command.response_class = Google::Apis::PlusV1::ActivityFeed - command.params['userId'] = user_id unless user_id.nil? - command.params['collection'] = collection unless collection.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Search public activities. - # @param [String] query - # Full-text search query string. - # @param [String] language - # Specify the preferred language to search with. See search language codes for - # available values. - # @param [Fixnum] max_results - # The maximum number of activities to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] order_by - # Specifies how to order search results. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. This token can be of any length. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusV1::ActivityFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusV1::ActivityFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_activities(query, language: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'activities', options) - command.response_representation = Google::Apis::PlusV1::ActivityFeed::Representation - command.response_class = Google::Apis::PlusV1::ActivityFeed - command.query['language'] = language unless language.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['query'] = query unless query.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Get a comment. - # @param [String] comment_id - # The ID of the comment to get. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusV1::Comment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusV1::Comment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_comment(comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'comments/{commentId}', options) - command.response_representation = Google::Apis::PlusV1::Comment::Representation - command.response_class = Google::Apis::PlusV1::Comment - command.params['commentId'] = comment_id unless comment_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the comments for an activity. - # @param [String] activity_id - # The ID of the activity to get comments for. - # @param [Fixnum] max_results - # The maximum number of comments to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] sort_order - # The order in which to sort the list of comments. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusV1::CommentFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusV1::CommentFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_comments(activity_id, max_results: nil, page_token: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'activities/{activityId}/comments', options) - command.response_representation = Google::Apis::PlusV1::CommentFeed::Representation - command.response_class = Google::Apis::PlusV1::CommentFeed - command.params['activityId'] = activity_id unless activity_id.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['sortOrder'] = sort_order unless sort_order.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Get a person's profile. If your app uses scope https://www.googleapis.com/auth/ - # plus.login, this method is guaranteed to return ageRange and language. - # @param [String] user_id - # The ID of the person to get the profile for. The special value "me" can be - # used to indicate the authenticated user. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusV1::Person] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusV1::Person] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_person(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'people/{userId}', options) - command.response_representation = Google::Apis::PlusV1::Person::Representation - command.response_class = Google::Apis::PlusV1::Person - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the people in the specified collection. - # @param [String] user_id - # Get the collection of people for the person identified. Use "me" to indicate - # the authenticated user. - # @param [String] collection - # The collection of people to list. - # @param [Fixnum] max_results - # The maximum number of people to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] order_by - # The order to return people in. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusV1::PeopleFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusV1::PeopleFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_people(user_id, collection, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'people/{userId}/people/{collection}', options) - command.response_representation = Google::Apis::PlusV1::PeopleFeed::Representation - command.response_class = Google::Apis::PlusV1::PeopleFeed - command.params['userId'] = user_id unless user_id.nil? - command.params['collection'] = collection unless collection.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # List all of the people in the specified collection for a particular activity. - # @param [String] activity_id - # The ID of the activity to get the list of people for. - # @param [String] collection - # The collection of people to list. - # @param [Fixnum] max_results - # The maximum number of people to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusV1::PeopleFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusV1::PeopleFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_people_by_activity(activity_id, collection, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'activities/{activityId}/people/{collection}', options) - command.response_representation = Google::Apis::PlusV1::PeopleFeed::Representation - command.response_class = Google::Apis::PlusV1::PeopleFeed - command.params['activityId'] = activity_id unless activity_id.nil? - command.params['collection'] = collection unless collection.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Search all public profiles. - # @param [String] query - # Specify a query string for full text search of public text in all profiles. - # @param [String] language - # Specify the preferred language to search with. See search language codes for - # available values. - # @param [Fixnum] max_results - # The maximum number of people to include in the response, which is used for - # paging. For any response, the actual number returned might be less than the - # specified maxResults. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. To - # get the next page of results, set this parameter to the value of " - # nextPageToken" from the previous response. This token can be of any length. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PlusV1::PeopleFeed] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PlusV1::PeopleFeed] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_people(query, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'people', options) - command.response_representation = Google::Apis::PlusV1::PeopleFeed::Representation - command.response_class = Google::Apis::PlusV1::PeopleFeed - command.query['language'] = language unless language.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['query'] = query unless query.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - protected - - def apply_command_defaults(command) - command.query['key'] = key unless key.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - end - end - end - end -end diff --git a/generated/google/apis/pubsub_v1.rb b/generated/google/apis/pubsub_v1.rb index 051c29a00..e2021bc94 100644 --- a/generated/google/apis/pubsub_v1.rb +++ b/generated/google/apis/pubsub_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/pubsub/docs module PubsubV1 VERSION = 'V1' - REVISION = '20190227' + REVISION = '20190304' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/pubsub_v1/classes.rb b/generated/google/apis/pubsub_v1/classes.rb index bd0a38ebd..1eeb961c8 100644 --- a/generated/google/apis/pubsub_v1/classes.rb +++ b/generated/google/apis/pubsub_v1/classes.rb @@ -90,11 +90,7 @@ module Google end end - # Request for the `CreateSnapshot` method.

- # BETA: This feature is part of a beta release. This API might be changed - # in - # backward-incompatible ways and is not recommended for production use. - # It is not subject to any SLA or deprecation policy. + # Request for the `CreateSnapshot` method. class CreateSnapshotRequest include Google::Apis::Core::Hashable @@ -219,10 +215,7 @@ module Google end end - # Response for the `ListSnapshots` method.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # Response for the `ListSnapshots` method. class ListSnapshotsResponse include Google::Apis::Core::Hashable @@ -275,10 +268,7 @@ module Google end end - # Response for the `ListTopicSnapshots` method.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # Response for the `ListTopicSnapshots` method. class ListTopicSnapshotsResponse include Google::Apis::Core::Hashable @@ -702,10 +692,7 @@ module Google end end - # Request for the `Seek` method.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # Request for the `Seek` method. class SeekRequest include Google::Apis::Core::Hashable @@ -815,10 +802,7 @@ module Google # operations, which allow # you to manage message acknowledgments in bulk. That is, you can set the # acknowledgment state of messages in an existing subscription to the state - # captured by a snapshot.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # captured by a snapshot. class Snapshot include Google::Apis::Core::Hashable @@ -907,10 +891,7 @@ module Google # If `retain_acked_messages` is true, then this also configures the retention # of acknowledged messages, and thus configures how far back in time a `Seek` # can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 - # minutes.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # minutes. # Corresponds to the JSON property `messageRetentionDuration` # @return [String] attr_accessor :message_retention_duration @@ -936,10 +917,6 @@ module Google # window. This must be true if you would like to # # Seek to a timestamp. - #

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. # Corresponds to the JSON property `retainAckedMessages` # @return [Boolean] attr_accessor :retain_acked_messages @@ -1043,10 +1020,7 @@ module Google end end - # Request for the UpdateSnapshot method.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # Request for the UpdateSnapshot method. class UpdateSnapshotRequest include Google::Apis::Core::Hashable @@ -1055,10 +1029,7 @@ module Google # operations, which allow # you to manage message acknowledgments in bulk. That is, you can set the # acknowledgment state of messages in an existing subscription to the state - # captured by a snapshot.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # captured by a snapshot. # Corresponds to the JSON property `snapshot` # @return [Google::Apis::PubsubV1::Snapshot] attr_accessor :snapshot diff --git a/generated/google/apis/pubsub_v1/service.rb b/generated/google/apis/pubsub_v1/service.rb index 7922f4500..2efe82ff6 100644 --- a/generated/google/apis/pubsub_v1/service.rb +++ b/generated/google/apis/pubsub_v1/service.rb @@ -53,11 +53,7 @@ module Google # you to manage message acknowledgments in bulk. That is, you can set the # acknowledgment state of messages in an existing subscription to the state # captured by a snapshot. - #

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy.

- # If the snapshot already exists, returns `ALREADY_EXISTS`. + #

If the snapshot already exists, returns `ALREADY_EXISTS`. # If the requested subscription doesn't exist, returns `NOT_FOUND`. # If the backlog in the subscription is too old -- and the resulting snapshot # would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. @@ -113,9 +109,6 @@ module Google # you to manage message acknowledgments in bulk. That is, you can set the # acknowledgment state of messages in an existing subscription to the state # captured by a snapshot.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. # When the snapshot is deleted, all messages retained in the snapshot # are immediately dropped. After a snapshot is deleted, a new one may be # created with the same name, but the new one has no association with the old @@ -154,10 +147,7 @@ module Google # Seek # operations, which allow you to manage message acknowledgments in bulk. That # is, you can set the acknowledgment state of messages in an existing - # subscription to the state captured by a snapshot.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # subscription to the state captured by a snapshot. # @param [String] snapshot # The name of the snapshot to get. # Format is `projects/`project`/snapshots/`snap``. @@ -226,10 +216,7 @@ module Google # operations, which allow # you to manage message acknowledgments in bulk. That is, you can set the # acknowledgment state of messages in an existing subscription to the state - # captured by a snapshot.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # captured by a snapshot. # @param [String] project # The name of the project in which to list snapshots. # Format is `projects/`project-id``. @@ -273,11 +260,7 @@ module Google # operations, which allow # you to manage message acknowledgments in bulk. That is, you can set the # acknowledgment state of messages in an existing subscription to the state - # captured by a snapshot.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. - # Note that certain properties of a snapshot are not modifiable. + # captured by a snapshot. # @param [String] name # The name of the snapshot. # @param [Google::Apis::PubsubV1::UpdateSnapshotRequest] update_snapshot_request_object @@ -768,10 +751,7 @@ module Google # you to manage message acknowledgments in bulk. That is, you can set the # acknowledgment state of messages in an existing subscription to the state # captured by a snapshot. Note that both the subscription and the snapshot - # must be on the same topic.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # must be on the same topic. # @param [String] subscription # The subscription to affect. # @param [Google::Apis::PubsubV1::SeekRequest] seek_request_object @@ -1209,10 +1189,7 @@ module Google # operations, which allow # you to manage message acknowledgments in bulk. That is, you can set the # acknowledgment state of messages in an existing subscription to the state - # captured by a snapshot.

- # BETA: This feature is part of a beta release. This API might be - # changed in backward-incompatible ways and is not recommended for production - # use. It is not subject to any SLA or deprecation policy. + # captured by a snapshot. # @param [String] topic # The name of the topic that snapshots are attached to. # Format is `projects/`project`/topics/`topic``. diff --git a/generated/google/apis/remotebuildexecution_v1.rb b/generated/google/apis/remotebuildexecution_v1.rb index 4f8ebd613..933b620a5 100644 --- a/generated/google/apis/remotebuildexecution_v1.rb +++ b/generated/google/apis/remotebuildexecution_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1 VERSION = 'V1' - REVISION = '20190226' + REVISION = '20190312' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1/classes.rb b/generated/google/apis/remotebuildexecution_v1/classes.rb index 6834843e4..ba66f1cbc 100644 --- a/generated/google/apis/remotebuildexecution_v1/classes.rb +++ b/generated/google/apis/remotebuildexecution_v1/classes.rb @@ -799,14 +799,14 @@ module Google # @return [Hash] attr_accessor :server_logs - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -2510,14 +2510,14 @@ module Google # @return [Hash] attr_accessor :server_logs - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -3179,14 +3179,14 @@ module Google # @return [String] attr_accessor :overhead - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -3312,6 +3312,13 @@ module Google # @return [Array] attr_accessor :inline_blobs + # Directory from which a command is executed. It is a relative directory + # with respect to the bot's working directory (i.e., "./"). If it is + # non-empty, then it must exist under "./". Otherwise, "./" will be used. + # Corresponds to the JSON property `workingDirectory` + # @return [String] + attr_accessor :working_directory + def initialize(**args) update!(**args) end @@ -3322,6 +3329,7 @@ module Google @environment_variables = args[:environment_variables] if args.key?(:environment_variables) @files = args[:files] if args.key?(:files) @inline_blobs = args[:inline_blobs] if args.key?(:inline_blobs) + @working_directory = args[:working_directory] if args.key?(:working_directory) end end @@ -3636,14 +3644,14 @@ module Google attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -3739,14 +3747,14 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing diff --git a/generated/google/apis/remotebuildexecution_v1/representations.rb b/generated/google/apis/remotebuildexecution_v1/representations.rb index d622a16ff..6fea4aadc 100644 --- a/generated/google/apis/remotebuildexecution_v1/representations.rb +++ b/generated/google/apis/remotebuildexecution_v1/representations.rb @@ -1066,6 +1066,7 @@ module Google collection :inline_blobs, as: 'inlineBlobs', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2Blob, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2Blob::Representation + property :working_directory, as: 'workingDirectory' end end diff --git a/generated/google/apis/remotebuildexecution_v1alpha.rb b/generated/google/apis/remotebuildexecution_v1alpha.rb index 821906dbc..d8404f8ae 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1alpha VERSION = 'V1alpha' - REVISION = '20190226' + REVISION = '20190312' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb index b6a49275f..3fd6a35cd 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb @@ -799,14 +799,14 @@ module Google # @return [Hash] attr_accessor :server_logs - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -2491,14 +2491,14 @@ module Google # @return [Hash] attr_accessor :server_logs - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -3160,14 +3160,14 @@ module Google # @return [String] attr_accessor :overhead - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -3293,6 +3293,13 @@ module Google # @return [Array] attr_accessor :inline_blobs + # Directory from which a command is executed. It is a relative directory + # with respect to the bot's working directory (i.e., "./"). If it is + # non-empty, then it must exist under "./". Otherwise, "./" will be used. + # Corresponds to the JSON property `workingDirectory` + # @return [String] + attr_accessor :working_directory + def initialize(**args) update!(**args) end @@ -3303,6 +3310,7 @@ module Google @environment_variables = args[:environment_variables] if args.key?(:environment_variables) @files = args[:files] if args.key?(:files) @inline_blobs = args[:inline_blobs] if args.key?(:inline_blobs) + @working_directory = args[:working_directory] if args.key?(:working_directory) end end @@ -3579,14 +3587,14 @@ module Google attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -3663,14 +3671,14 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing diff --git a/generated/google/apis/remotebuildexecution_v1alpha/representations.rb b/generated/google/apis/remotebuildexecution_v1alpha/representations.rb index d6bbdc762..670520a69 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/representations.rb @@ -1023,6 +1023,7 @@ module Google collection :inline_blobs, as: 'inlineBlobs', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2Blob, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2Blob::Representation + property :working_directory, as: 'workingDirectory' end end diff --git a/generated/google/apis/remotebuildexecution_v2.rb b/generated/google/apis/remotebuildexecution_v2.rb index c03e6c594..9f75552b3 100644 --- a/generated/google/apis/remotebuildexecution_v2.rb +++ b/generated/google/apis/remotebuildexecution_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV2 VERSION = 'V2' - REVISION = '20190226' + REVISION = '20190312' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v2/classes.rb b/generated/google/apis/remotebuildexecution_v2/classes.rb index 0bc3bdf42..ae6a9f915 100644 --- a/generated/google/apis/remotebuildexecution_v2/classes.rb +++ b/generated/google/apis/remotebuildexecution_v2/classes.rb @@ -470,14 +470,14 @@ module Google # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest] attr_accessor :digest - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -652,14 +652,14 @@ module Google # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest] attr_accessor :digest - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -1253,14 +1253,14 @@ module Google # @return [Hash] attr_accessor :server_logs - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -3244,14 +3244,14 @@ module Google # @return [Hash] attr_accessor :server_logs - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -3913,14 +3913,14 @@ module Google # @return [String] attr_accessor :overhead - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -4046,6 +4046,13 @@ module Google # @return [Array] attr_accessor :inline_blobs + # Directory from which a command is executed. It is a relative directory + # with respect to the bot's working directory (i.e., "./"). If it is + # non-empty, then it must exist under "./". Otherwise, "./" will be used. + # Corresponds to the JSON property `workingDirectory` + # @return [String] + attr_accessor :working_directory + def initialize(**args) update!(**args) end @@ -4056,6 +4063,7 @@ module Google @environment_variables = args[:environment_variables] if args.key?(:environment_variables) @files = args[:files] if args.key?(:files) @inline_blobs = args[:inline_blobs] if args.key?(:inline_blobs) + @working_directory = args[:working_directory] if args.key?(:working_directory) end end @@ -4332,14 +4340,14 @@ module Google attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -4416,14 +4424,14 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing diff --git a/generated/google/apis/remotebuildexecution_v2/representations.rb b/generated/google/apis/remotebuildexecution_v2/representations.rb index 36f2338a5..09eb1adc7 100644 --- a/generated/google/apis/remotebuildexecution_v2/representations.rb +++ b/generated/google/apis/remotebuildexecution_v2/representations.rb @@ -1341,6 +1341,7 @@ module Google collection :inline_blobs, as: 'inlineBlobs', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2Blob, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2Blob::Representation + property :working_directory, as: 'workingDirectory' end end diff --git a/generated/google/apis/runtimeconfig_v1beta1.rb b/generated/google/apis/runtimeconfig_v1beta1.rb index 3091582ba..85ee3c374 100644 --- a/generated/google/apis/runtimeconfig_v1beta1.rb +++ b/generated/google/apis/runtimeconfig_v1beta1.rb @@ -28,7 +28,7 @@ module Google # @see https://cloud.google.com/deployment-manager/runtime-configurator/ module RuntimeconfigV1beta1 VERSION = 'V1beta1' - REVISION = '20190305' + REVISION = '20190311' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/runtimeconfig_v1beta1/classes.rb b/generated/google/apis/runtimeconfig_v1beta1/classes.rb index c542fe7cb..b4e1f079b 100644 --- a/generated/google/apis/runtimeconfig_v1beta1/classes.rb +++ b/generated/google/apis/runtimeconfig_v1beta1/classes.rb @@ -307,14 +307,14 @@ module Google attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -558,14 +558,14 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -773,14 +773,14 @@ module Google attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing diff --git a/generated/google/apis/toolresults_v1beta3.rb b/generated/google/apis/toolresults_v1beta3.rb index d8b950d95..55bf1edb4 100644 --- a/generated/google/apis/toolresults_v1beta3.rb +++ b/generated/google/apis/toolresults_v1beta3.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/test-lab/ module ToolresultsV1beta3 VERSION = 'V1beta3' - REVISION = '20190207' + REVISION = '20190312' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/vault_v1.rb b/generated/google/apis/vault_v1.rb index 29ef78c90..869acdb3d 100644 --- a/generated/google/apis/vault_v1.rb +++ b/generated/google/apis/vault_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/vault module VaultV1 VERSION = 'V1' - REVISION = '20181128' + REVISION = '20190312' # Manage your eDiscovery data AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery' diff --git a/generated/google/apis/vault_v1/classes.rb b/generated/google/apis/vault_v1/classes.rb index d0ee12b03..1e1c342c3 100644 --- a/generated/google/apis/vault_v1/classes.rb +++ b/generated/google/apis/vault_v1/classes.rb @@ -962,6 +962,12 @@ module Google # @return [String] attr_accessor :export_format + # Set to true to export confidential mode content. + # Corresponds to the JSON property `showConfidentialModeContent` + # @return [Boolean] + attr_accessor :show_confidential_mode_content + alias_method :show_confidential_mode_content?, :show_confidential_mode_content + def initialize(**args) update!(**args) end @@ -969,6 +975,7 @@ module Google # Update properties of this object def update!(**args) @export_format = args[:export_format] if args.key?(:export_format) + @show_confidential_mode_content = args[:show_confidential_mode_content] if args.key?(:show_confidential_mode_content) end end diff --git a/generated/google/apis/vault_v1/representations.rb b/generated/google/apis/vault_v1/representations.rb index b13503ab1..60eaa4978 100644 --- a/generated/google/apis/vault_v1/representations.rb +++ b/generated/google/apis/vault_v1/representations.rb @@ -605,6 +605,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :export_format, as: 'exportFormat' + property :show_confidential_mode_content, as: 'showConfidentialModeContent' end end diff --git a/generated/google/apis/videointelligence_v1.rb b/generated/google/apis/videointelligence_v1.rb index cba9081cd..de02cf1b1 100644 --- a/generated/google/apis/videointelligence_v1.rb +++ b/generated/google/apis/videointelligence_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/video-intelligence/docs/ module VideointelligenceV1 VERSION = 'V1' - REVISION = '20190220' + REVISION = '20190308' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/videointelligence_v1/classes.rb b/generated/google/apis/videointelligence_v1/classes.rb index e26359c16..46f6ed218 100644 --- a/generated/google/apis/videointelligence_v1/classes.rb +++ b/generated/google/apis/videointelligence_v1/classes.rb @@ -277,6 +277,16 @@ module Google class GoogleCloudVideointelligenceV1LabelDetectionConfig include Google::Apis::Core::Hashable + # The confidence threshold we perform filtering on the labels from + # frame-level detection. If not set, it is set to 0.4 by default. The valid + # range for this threshold is [0.1, 0.9]. Any value set outside of this + # range will be clipped. + # Note: for best results please follow the default threshold. We will update + # the default threshold everytime when we release a new model. + # Corresponds to the JSON property `frameConfidenceThreshold` + # @return [Float] + attr_accessor :frame_confidence_threshold + # What labels should be detected with LABEL_DETECTION, in addition to # video-level labels or segment-level labels. # If unspecified, defaults to `SHOT_MODE`. @@ -299,15 +309,27 @@ module Google attr_accessor :stationary_camera alias_method :stationary_camera?, :stationary_camera + # The confidence threshold we perform filtering on the labels from + # video-level and shot-level detections. If not set, it is set to 0.3 by + # default. The valid range for this threshold is [0.1, 0.9]. Any value set + # outside of this range will be clipped. + # Note: for best results please follow the default threshold. We will update + # the default threshold everytime when we release a new model. + # Corresponds to the JSON property `videoConfidenceThreshold` + # @return [Float] + attr_accessor :video_confidence_threshold + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @frame_confidence_threshold = args[:frame_confidence_threshold] if args.key?(:frame_confidence_threshold) @label_detection_mode = args[:label_detection_mode] if args.key?(:label_detection_mode) @model = args[:model] if args.key?(:model) @stationary_camera = args[:stationary_camera] if args.key?(:stationary_camera) + @video_confidence_threshold = args[:video_confidence_threshold] if args.key?(:video_confidence_threshold) end end @@ -917,14 +939,14 @@ module Google class GoogleCloudVideointelligenceV1VideoAnnotationResults include Google::Apis::Core::Hashable - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -1770,14 +1792,14 @@ module Google class GoogleCloudVideointelligenceV1beta2VideoAnnotationResults include Google::Apis::Core::Hashable - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -2572,14 +2594,14 @@ module Google class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults include Google::Apis::Core::Hashable - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -3374,14 +3396,14 @@ module Google class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults include Google::Apis::Core::Hashable - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -3578,12 +3600,12 @@ module Google # Video annotation progress. Included in the `metadata` # field of the `Operation` returned by the `GetOperation` # call of the `google::longrunning::Operations` service. - class GoogleCloudVideointelligenceV2beta1AnnotateVideoProgress + class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress include Google::Apis::Core::Hashable # Progress metadata for all videos specified in `AnnotateVideoRequest`. # Corresponds to the JSON property `annotationProgress` - # @return [Array] + # @return [Array] attr_accessor :annotation_progress def initialize(**args) @@ -3599,12 +3621,12 @@ module Google # Video annotation response. Included in the `response` # field of the `Operation` returned by the `GetOperation` # call of the `google::longrunning::Operations` service. - class GoogleCloudVideointelligenceV2beta1AnnotateVideoResponse + class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse include Google::Apis::Core::Hashable # Annotation results for all videos specified in `AnnotateVideoRequest`. # Corresponds to the JSON property `annotationResults` - # @return [Array] + # @return [Array] attr_accessor :annotation_results def initialize(**args) @@ -3618,7 +3640,7 @@ module Google end # Detected entity from video analysis. - class GoogleCloudVideointelligenceV2beta1Entity + class GoogleCloudVideointelligenceV1p3beta1Entity include Google::Apis::Core::Hashable # Textual description, e.g. `Fixed-gear bicycle`. @@ -3653,12 +3675,12 @@ module Google # Explicit content annotation (based on per-frame visual signals only). # If no explicit content has been detected in a frame, no annotations are # present for that frame. - class GoogleCloudVideointelligenceV2beta1ExplicitContentAnnotation + class GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation include Google::Apis::Core::Hashable # All video frames where explicit content was detected. # Corresponds to the JSON property `frames` - # @return [Array] + # @return [Array] attr_accessor :frames def initialize(**args) @@ -3672,7 +3694,7 @@ module Google end # Video frame level annotation results for explicit content. - class GoogleCloudVideointelligenceV2beta1ExplicitContentFrame + class GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame include Google::Apis::Core::Hashable # Likelihood of the pornography content.. @@ -3698,7 +3720,7 @@ module Google end # Label annotation. - class GoogleCloudVideointelligenceV2beta1LabelAnnotation + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation include Google::Apis::Core::Hashable # Common categories for the detected entity. @@ -3706,22 +3728,22 @@ module Google # cases there might be more than one categories e.g. `Terrier` could also be # a `pet`. # Corresponds to the JSON property `categoryEntities` - # @return [Array] + # @return [Array] attr_accessor :category_entities # Detected entity from video analysis. # Corresponds to the JSON property `entity` - # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1Entity] + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity] attr_accessor :entity # All video frames where a label was detected. # Corresponds to the JSON property `frames` - # @return [Array] + # @return [Array] attr_accessor :frames # All video segments where a label was detected. # Corresponds to the JSON property `segments` - # @return [Array] + # @return [Array] attr_accessor :segments def initialize(**args) @@ -3738,7 +3760,7 @@ module Google end # Video frame level annotation results for label detection. - class GoogleCloudVideointelligenceV2beta1LabelFrame + class GoogleCloudVideointelligenceV1p3beta1LabelFrame include Google::Apis::Core::Hashable # Confidence that the label is accurate. Range: [0, 1]. @@ -3764,7 +3786,7 @@ module Google end # Video segment level annotation results for label detection. - class GoogleCloudVideointelligenceV2beta1LabelSegment + class GoogleCloudVideointelligenceV1p3beta1LabelSegment include Google::Apis::Core::Hashable # Confidence that the label is accurate. Range: [0, 1]. @@ -3774,7 +3796,7 @@ module Google # Video segment. # Corresponds to the JSON property `segment` - # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment] + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment] attr_accessor :segment def initialize(**args) @@ -3791,7 +3813,7 @@ module Google # Normalized bounding box. # The normalized vertex coordinates are relative to the original image. # Range: [0, 1]. - class GoogleCloudVideointelligenceV2beta1NormalizedBoundingBox + class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox include Google::Apis::Core::Hashable # Bottom Y coordinate. @@ -3842,12 +3864,12 @@ module Google # and the vertex order will still be (0, 1, 2, 3). Note that values can be less # than 0, or greater than 1 due to trignometric calculations for location of # the box. - class GoogleCloudVideointelligenceV2beta1NormalizedBoundingPoly + class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly include Google::Apis::Core::Hashable # Normalized vertices of the bounding polygon. # Corresponds to the JSON property `vertices` - # @return [Array] + # @return [Array] attr_accessor :vertices def initialize(**args) @@ -3863,7 +3885,7 @@ module Google # A vertex represents a 2D point in the image. # NOTE: the normalized vertex coordinates are relative to the original image # and range from 0 to 1. - class GoogleCloudVideointelligenceV2beta1NormalizedVertex + class GoogleCloudVideointelligenceV1p3beta1NormalizedVertex include Google::Apis::Core::Hashable # X coordinate. @@ -3888,7 +3910,7 @@ module Google end # Annotations corresponding to one tracked object. - class GoogleCloudVideointelligenceV2beta1ObjectTrackingAnnotation + class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation include Google::Apis::Core::Hashable # Object category's labeling confidence of this track. @@ -3898,7 +3920,7 @@ module Google # Detected entity from video analysis. # Corresponds to the JSON property `entity` - # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1Entity] + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity] attr_accessor :entity # Information corresponding to all frames where this object track appears. @@ -3906,12 +3928,12 @@ module Google # messages in frames. # Streaming mode: it can only be one ObjectTrackingFrame message in frames. # Corresponds to the JSON property `frames` - # @return [Array] + # @return [Array] attr_accessor :frames # Video segment. # Corresponds to the JSON property `segment` - # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment] + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment] attr_accessor :segment # Streaming mode ONLY. @@ -3940,14 +3962,14 @@ module Google # Video frame level annotations for object detection and tracking. This field # stores per frame location, time offset, and confidence. - class GoogleCloudVideointelligenceV2beta1ObjectTrackingFrame + class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame include Google::Apis::Core::Hashable # Normalized bounding box. # The normalized vertex coordinates are relative to the original image. # Range: [0, 1]. # Corresponds to the JSON property `normalizedBoundingBox` - # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1NormalizedBoundingBox] + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox] attr_accessor :normalized_bounding_box # The timestamp of the frame in microseconds. @@ -3967,7 +3989,7 @@ module Google end # Alternative hypotheses (a.k.a. n-best list). - class GoogleCloudVideointelligenceV2beta1SpeechRecognitionAlternative + class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative include Google::Apis::Core::Hashable # The confidence estimate between 0.0 and 1.0. A higher number @@ -3987,7 +4009,7 @@ module Google # A list of word-specific information for each recognized word. # Corresponds to the JSON property `words` - # @return [Array] + # @return [Array] attr_accessor :words def initialize(**args) @@ -4003,7 +4025,7 @@ module Google end # A speech recognition result corresponding to a portion of the audio. - class GoogleCloudVideointelligenceV2beta1SpeechTranscription + class GoogleCloudVideointelligenceV1p3beta1SpeechTranscription include Google::Apis::Core::Hashable # May contain one or more recognition hypotheses (up to the maximum specified @@ -4011,7 +4033,7 @@ module Google # accuracy, with the top (first) alternative being the most probable, as # ranked by the recognizer. # Corresponds to the JSON property `alternatives` - # @return [Array] + # @return [Array] attr_accessor :alternatives # Output only. The @@ -4036,13 +4058,13 @@ module Google # `StreamingAnnotateVideoResponse` is the only message returned to the client # by `StreamingAnnotateVideo`. A series of zero or more # `StreamingAnnotateVideoResponse` messages are streamed back to the client. - class GoogleCloudVideointelligenceV2beta1StreamingAnnotateVideoResponse + class GoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse include Google::Apis::Core::Hashable # Streaming annotation results corresponding to a portion of the video # that is currently being processed. # Corresponds to the JSON property `annotationResults` - # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1StreamingVideoAnnotationResults] + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults] attr_accessor :annotation_results # GCS URI that stores annotation results of one streaming session. @@ -4053,14 +4075,14 @@ module Google # @return [String] attr_accessor :annotation_results_uri - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -4110,29 +4132,29 @@ module Google # Streaming annotation results corresponding to a portion of the video # that is currently being processed. - class GoogleCloudVideointelligenceV2beta1StreamingVideoAnnotationResults + class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults include Google::Apis::Core::Hashable # Explicit content annotation (based on per-frame visual signals only). # If no explicit content has been detected in a frame, no annotations are # present for that frame. # Corresponds to the JSON property `explicitAnnotation` - # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ExplicitContentAnnotation] + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation # Label annotation results. # Corresponds to the JSON property `labelAnnotations` - # @return [Array] + # @return [Array] attr_accessor :label_annotations # Object tracking results. # Corresponds to the JSON property `objectAnnotations` - # @return [Array] + # @return [Array] attr_accessor :object_annotations # Shot annotation results. Each shot is represented as a video segment. # Corresponds to the JSON property `shotAnnotations` - # @return [Array] + # @return [Array] attr_accessor :shot_annotations def initialize(**args) @@ -4151,12 +4173,12 @@ module Google # Annotations related to one detected OCR text snippet. This will contain the # corresponding text, confidence value, and frame level information for each # detection. - class GoogleCloudVideointelligenceV2beta1TextAnnotation + class GoogleCloudVideointelligenceV1p3beta1TextAnnotation include Google::Apis::Core::Hashable # All video segments where OCR detected text appears. # Corresponds to the JSON property `segments` - # @return [Array] + # @return [Array] attr_accessor :segments # The detected text. @@ -4178,7 +4200,7 @@ module Google # Video frame level annotation results for text annotation (OCR). # Contains information regarding timestamp and bounding box locations for the # frames containing detected OCR text snippets. - class GoogleCloudVideointelligenceV2beta1TextFrame + class GoogleCloudVideointelligenceV1p3beta1TextFrame include Google::Apis::Core::Hashable # Normalized bounding polygon for text (that might not be aligned with axis). @@ -4197,7 +4219,7 @@ module Google # than 0, or greater than 1 due to trignometric calculations for location of # the box. # Corresponds to the JSON property `rotatedBoundingBox` - # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1NormalizedBoundingPoly] + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly] attr_accessor :rotated_bounding_box # Timestamp of this frame. @@ -4217,7 +4239,7 @@ module Google end # Video segment level annotation results for text detection. - class GoogleCloudVideointelligenceV2beta1TextSegment + class GoogleCloudVideointelligenceV1p3beta1TextSegment include Google::Apis::Core::Hashable # Confidence for the track of detected text. It is calculated as the highest @@ -4228,12 +4250,12 @@ module Google # Information related to the frames where OCR detected text appears. # Corresponds to the JSON property `frames` - # @return [Array] + # @return [Array] attr_accessor :frames # Video segment. # Corresponds to the JSON property `segment` - # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment] + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment] attr_accessor :segment def initialize(**args) @@ -4249,7 +4271,7 @@ module Google end # Annotation progress for a single video. - class GoogleCloudVideointelligenceV2beta1VideoAnnotationProgress + class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress include Google::Apis::Core::Hashable # Video file location in @@ -4288,17 +4310,17 @@ module Google end # Annotation results for a single video. - class GoogleCloudVideointelligenceV2beta1VideoAnnotationResults + class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults include Google::Apis::Core::Hashable - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -4338,13 +4360,13 @@ module Google # If no explicit content has been detected in a frame, no annotations are # present for that frame. # Corresponds to the JSON property `explicitAnnotation` - # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ExplicitContentAnnotation] + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation # Label annotations on frame level. # There is exactly one element for each unique label. # Corresponds to the JSON property `frameLabelAnnotations` - # @return [Array] + # @return [Array] attr_accessor :frame_label_annotations # Video file location in @@ -4355,36 +4377,36 @@ module Google # Annotations for list of objects detected and tracked in video. # Corresponds to the JSON property `objectAnnotations` - # @return [Array] + # @return [Array] attr_accessor :object_annotations # Label annotations on video level or user specified segment level. # There is exactly one element for each unique label. # Corresponds to the JSON property `segmentLabelAnnotations` - # @return [Array] + # @return [Array] attr_accessor :segment_label_annotations # Shot annotations. Each shot is represented as a video segment. # Corresponds to the JSON property `shotAnnotations` - # @return [Array] + # @return [Array] attr_accessor :shot_annotations # Label annotations on shot level. # There is exactly one element for each unique label. # Corresponds to the JSON property `shotLabelAnnotations` - # @return [Array] + # @return [Array] attr_accessor :shot_label_annotations # Speech transcription. # Corresponds to the JSON property `speechTranscriptions` - # @return [Array] + # @return [Array] attr_accessor :speech_transcriptions # OCR text detection and tracking. # Annotations for list of detected text snippets. Each will have list of # frame information associated with it. # Corresponds to the JSON property `textAnnotations` - # @return [Array] + # @return [Array] attr_accessor :text_annotations def initialize(**args) @@ -4407,7 +4429,7 @@ module Google end # Video segment. - class GoogleCloudVideointelligenceV2beta1VideoSegment + class GoogleCloudVideointelligenceV1p3beta1VideoSegment include Google::Apis::Core::Hashable # Time-offset, relative to the beginning of the video, @@ -4436,7 +4458,7 @@ module Google # Word-specific information for recognized words. Word information is only # included in the response when certain request parameters are set, such # as `enable_word_time_offsets`. - class GoogleCloudVideointelligenceV2beta1WordInfo + class GoogleCloudVideointelligenceV1p3beta1WordInfo include Google::Apis::Core::Hashable # Output only. The confidence estimate between 0.0 and 1.0. A higher number @@ -4543,14 +4565,14 @@ module Google attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing @@ -4646,14 +4668,14 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing diff --git a/generated/google/apis/videointelligence_v1/representations.rb b/generated/google/apis/videointelligence_v1/representations.rb index badc87c46..9f39daff4 100644 --- a/generated/google/apis/videointelligence_v1/representations.rb +++ b/generated/google/apis/videointelligence_v1/representations.rb @@ -598,145 +598,145 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1AnnotateVideoProgress + class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1AnnotateVideoResponse + class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1Entity + class GoogleCloudVideointelligenceV1p3beta1Entity class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1ExplicitContentAnnotation + class GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1ExplicitContentFrame + class GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1LabelAnnotation + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1LabelFrame + class GoogleCloudVideointelligenceV1p3beta1LabelFrame class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1LabelSegment + class GoogleCloudVideointelligenceV1p3beta1LabelSegment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1NormalizedBoundingBox + class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1NormalizedBoundingPoly + class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1NormalizedVertex + class GoogleCloudVideointelligenceV1p3beta1NormalizedVertex class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1ObjectTrackingAnnotation + class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1ObjectTrackingFrame + class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1SpeechRecognitionAlternative + class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1SpeechTranscription + class GoogleCloudVideointelligenceV1p3beta1SpeechTranscription class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1StreamingAnnotateVideoResponse + class GoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1StreamingVideoAnnotationResults + class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1TextAnnotation + class GoogleCloudVideointelligenceV1p3beta1TextAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1TextFrame + class GoogleCloudVideointelligenceV1p3beta1TextFrame class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1TextSegment + class GoogleCloudVideointelligenceV1p3beta1TextSegment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1VideoAnnotationProgress + class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1VideoAnnotationResults + class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1VideoSegment + class GoogleCloudVideointelligenceV1p3beta1VideoSegment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV2beta1WordInfo + class GoogleCloudVideointelligenceV1p3beta1WordInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -850,9 +850,11 @@ module Google class GoogleCloudVideointelligenceV1LabelDetectionConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :frame_confidence_threshold, as: 'frameConfidenceThreshold' property :label_detection_mode, as: 'labelDetectionMode' property :model, as: 'model' property :stationary_camera, as: 'stationaryCamera' + property :video_confidence_threshold, as: 'videoConfidenceThreshold' end end @@ -1748,23 +1750,23 @@ module Google end end - class GoogleCloudVideointelligenceV2beta1AnnotateVideoProgress + class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :annotation_progress, as: 'annotationProgress', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoAnnotationProgress, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoAnnotationProgress::Representation + collection :annotation_progress, as: 'annotationProgress', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress::Representation end end - class GoogleCloudVideointelligenceV2beta1AnnotateVideoResponse + class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :annotation_results, as: 'annotationResults', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoAnnotationResults, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoAnnotationResults::Representation + collection :annotation_results, as: 'annotationResults', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults::Representation end end - class GoogleCloudVideointelligenceV2beta1Entity + class GoogleCloudVideointelligenceV1p3beta1Entity # @private class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' @@ -1773,15 +1775,15 @@ module Google end end - class GoogleCloudVideointelligenceV2beta1ExplicitContentAnnotation + class GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ExplicitContentFrame::Representation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame::Representation end end - class GoogleCloudVideointelligenceV2beta1ExplicitContentFrame + class GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame # @private class Representation < Google::Apis::Core::JsonRepresentation property :pornography_likelihood, as: 'pornographyLikelihood' @@ -1789,21 +1791,21 @@ module Google end end - class GoogleCloudVideointelligenceV2beta1LabelAnnotation + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :category_entities, as: 'categoryEntities', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1Entity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1Entity::Representation + collection :category_entities, as: 'categoryEntities', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity::Representation - property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1Entity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1Entity::Representation + property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity::Representation - collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelFrame::Representation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelFrame::Representation - collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelSegment::Representation + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelSegment::Representation end end - class GoogleCloudVideointelligenceV2beta1LabelFrame + class GoogleCloudVideointelligenceV1p3beta1LabelFrame # @private class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' @@ -1811,16 +1813,16 @@ module Google end end - class GoogleCloudVideointelligenceV2beta1LabelSegment + class GoogleCloudVideointelligenceV1p3beta1LabelSegment # @private class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' - property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation end end - class GoogleCloudVideointelligenceV2beta1NormalizedBoundingBox + class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox # @private class Representation < Google::Apis::Core::JsonRepresentation property :bottom, as: 'bottom' @@ -1830,15 +1832,15 @@ module Google end end - class GoogleCloudVideointelligenceV2beta1NormalizedBoundingPoly + class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :vertices, as: 'vertices', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1NormalizedVertex, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1NormalizedVertex::Representation + collection :vertices, as: 'vertices', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedVertex, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedVertex::Representation end end - class GoogleCloudVideointelligenceV2beta1NormalizedVertex + class GoogleCloudVideointelligenceV1p3beta1NormalizedVertex # @private class Representation < Google::Apis::Core::JsonRepresentation property :x, as: 'x' @@ -1846,52 +1848,52 @@ module Google end end - class GoogleCloudVideointelligenceV2beta1ObjectTrackingAnnotation + class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' - property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1Entity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1Entity::Representation + property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity::Representation - collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ObjectTrackingFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ObjectTrackingFrame::Representation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame::Representation - property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation property :track_id, :numeric_string => true, as: 'trackId' end end - class GoogleCloudVideointelligenceV2beta1ObjectTrackingFrame + class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame # @private class Representation < Google::Apis::Core::JsonRepresentation - property :normalized_bounding_box, as: 'normalizedBoundingBox', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1NormalizedBoundingBox::Representation + property :normalized_bounding_box, as: 'normalizedBoundingBox', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation property :time_offset, as: 'timeOffset' end end - class GoogleCloudVideointelligenceV2beta1SpeechRecognitionAlternative + class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative # @private class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' property :transcript, as: 'transcript' - collection :words, as: 'words', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1WordInfo, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1WordInfo::Representation + collection :words, as: 'words', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1WordInfo, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1WordInfo::Representation end end - class GoogleCloudVideointelligenceV2beta1SpeechTranscription + class GoogleCloudVideointelligenceV1p3beta1SpeechTranscription # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :alternatives, as: 'alternatives', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1SpeechRecognitionAlternative, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1SpeechRecognitionAlternative::Representation + collection :alternatives, as: 'alternatives', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative::Representation property :language_code, as: 'languageCode' end end - class GoogleCloudVideointelligenceV2beta1StreamingAnnotateVideoResponse + class GoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :annotation_results, as: 'annotationResults', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1StreamingVideoAnnotationResults, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1StreamingVideoAnnotationResults::Representation + property :annotation_results, as: 'annotationResults', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults::Representation property :annotation_results_uri, as: 'annotationResultsUri' property :error, as: 'error', class: Google::Apis::VideointelligenceV1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1::GoogleRpcStatus::Representation @@ -1899,50 +1901,50 @@ module Google end end - class GoogleCloudVideointelligenceV2beta1StreamingVideoAnnotationResults + class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults # @private class Representation < Google::Apis::Core::JsonRepresentation - property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ExplicitContentAnnotation::Representation + property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation - collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation::Representation + collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation - collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ObjectTrackingAnnotation::Representation + collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation - collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment::Representation + collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation end end - class GoogleCloudVideointelligenceV2beta1TextAnnotation + class GoogleCloudVideointelligenceV1p3beta1TextAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1TextSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1TextSegment::Representation + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextSegment::Representation property :text, as: 'text' end end - class GoogleCloudVideointelligenceV2beta1TextFrame + class GoogleCloudVideointelligenceV1p3beta1TextFrame # @private class Representation < Google::Apis::Core::JsonRepresentation - property :rotated_bounding_box, as: 'rotatedBoundingBox', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1NormalizedBoundingPoly, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1NormalizedBoundingPoly::Representation + property :rotated_bounding_box, as: 'rotatedBoundingBox', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly::Representation property :time_offset, as: 'timeOffset' end end - class GoogleCloudVideointelligenceV2beta1TextSegment + class GoogleCloudVideointelligenceV1p3beta1TextSegment # @private class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' - collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1TextFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1TextFrame::Representation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextFrame::Representation - property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation end end - class GoogleCloudVideointelligenceV2beta1VideoAnnotationProgress + class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress # @private class Representation < Google::Apis::Core::JsonRepresentation property :input_uri, as: 'inputUri' @@ -1952,32 +1954,32 @@ module Google end end - class GoogleCloudVideointelligenceV2beta1VideoAnnotationResults + class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults # @private class Representation < Google::Apis::Core::JsonRepresentation property :error, as: 'error', class: Google::Apis::VideointelligenceV1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1::GoogleRpcStatus::Representation - property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ExplicitContentAnnotation::Representation + property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation - collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation::Representation + collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation property :input_uri, as: 'inputUri' - collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ObjectTrackingAnnotation::Representation + collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation - collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation::Representation + collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation - collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment::Representation + collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation - collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation::Representation + collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation - collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1SpeechTranscription::Representation + collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription::Representation - collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1TextAnnotation::Representation + collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation::Representation end end - class GoogleCloudVideointelligenceV2beta1VideoSegment + class GoogleCloudVideointelligenceV1p3beta1VideoSegment # @private class Representation < Google::Apis::Core::JsonRepresentation property :end_time_offset, as: 'endTimeOffset' @@ -1985,7 +1987,7 @@ module Google end end - class GoogleCloudVideointelligenceV2beta1WordInfo + class GoogleCloudVideointelligenceV1p3beta1WordInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 822228d81..b332e922d 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20190303' + REVISION = '20190312' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'