Autogenerated update (2019-03-14)
Delete: - plus_domains_v1 - plus_v1 Update: - analyticsreporting_v4 - bigquerydatatransfer_v1 - cloudbilling_v1 - cloudsearch_v1 - dialogflow_v2beta1 - dlp_v2 - dns_v1 - dns_v2beta1 - oauth2_v1 - oauth2_v2 - pubsub_v1 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - runtimeconfig_v1beta1 - toolresults_v1beta3 - vault_v1 - videointelligence_v1 - youtube_partner_v1
This commit is contained in:
parent
fab4879e28
commit
ccdd8676b4
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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<String>]
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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<Google::Apis::CloudsearchV1::Principal>]
|
||||
|
@ -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<String>]
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -350,6 +350,16 @@ module Google
|
|||
# @return [Array<String>]
|
||||
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<Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfigNetwork>]
|
||||
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)
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -350,6 +350,16 @@ module Google
|
|||
# @return [Array<String>]
|
||||
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<Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfigNetwork>]
|
||||
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)
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -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>, String] email
|
||||
# Email of the people to add to the circle. Optional, can be repeated.
|
||||
# @param [Array<String>, 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>, String] email
|
||||
# Email of the people to add to the circle. Optional, can be repeated.
|
||||
# @param [Array<String>, 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
|
|
@ -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
|
File diff suppressed because it is too large
Load Diff
|
@ -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
|
|
@ -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
|
|
@ -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'
|
||||
|
|
|
@ -90,11 +90,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Request for the `CreateSnapshot` method.<br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# <b>BETA:</b> 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. <br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# <b>BETA:</b> 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
|
||||
# <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time">
|
||||
# Seek to a timestamp</a>.
|
||||
# <br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# <b>BETA:</b> 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
|
||||
|
|
|
@ -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.
|
||||
# <br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# If the snapshot already exists, returns `ALREADY_EXISTS`.
|
||||
# <br><br>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.<br><br>
|
||||
# <b>BETA:</b> 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
|
|||
# <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
|
||||
# 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.<br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# <b>BETA:</b> 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.<br><br>
|
||||
# <b>BETA:</b> 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``.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -799,14 +799,14 @@ module Google
|
|||
# @return [Hash<String,Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2LogFile>]
|
||||
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<String,Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteexecutionV1testLogFile>]
|
||||
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<Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2Blob>]
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -799,14 +799,14 @@ module Google
|
|||
# @return [Hash<String,Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2LogFile>]
|
||||
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<String,Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testLogFile>]
|
||||
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<Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2Blob>]
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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<String,Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2LogFile>]
|
||||
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<String,Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteexecutionV1testLogFile>]
|
||||
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<Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2Blob>]
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoAnnotationProgress>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoAnnotationResults>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ExplicitContentFrame>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1Entity>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelFrame>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelFrame>]
|
||||
attr_accessor :frames
|
||||
|
||||
# All video segments where a label was detected.
|
||||
# Corresponds to the JSON property `segments`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelSegment>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelSegment>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1NormalizedVertex>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedVertex>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ObjectTrackingFrame>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1WordInfo>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1SpeechRecognitionAlternative>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :label_annotations
|
||||
|
||||
# Object tracking results.
|
||||
# Corresponds to the JSON property `objectAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ObjectTrackingAnnotation>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
|
||||
attr_accessor :object_annotations
|
||||
|
||||
# Shot annotation results. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1TextSegment>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextSegment>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1TextFrame>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextFrame>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1ObjectTrackingAnnotation>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1VideoSegment>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1LabelAnnotation>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1SpeechTranscription>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>]
|
||||
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<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV2beta1TextAnnotation>]
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation>]
|
||||
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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue