Autogenerated update (2018-02-21)

Update:
- androidmanagement_v1
- cloudbuild_v1
- genomics_v1
- genomics_v1alpha2
- people_v1
- slides_v1
This commit is contained in:
Google APIs 2018-02-21 00:36:04 +00:00
parent 7302a0d956
commit 26f035d3b3
21 changed files with 3316 additions and 10 deletions

View File

@ -12678,6 +12678,8 @@
"/cloudbuild:v1/BuildStep/name": name
"/cloudbuild:v1/BuildStep/secretEnv": secret_env
"/cloudbuild:v1/BuildStep/secretEnv/secret_env": secret_env
"/cloudbuild:v1/BuildStep/status": status
"/cloudbuild:v1/BuildStep/timeout": timeout
"/cloudbuild:v1/BuildStep/timing": timing
"/cloudbuild:v1/BuildStep/volumes": volumes
"/cloudbuild:v1/BuildStep/volumes/volume": volume
@ -50537,6 +50539,14 @@
"/genomics:v1/ComputeEngine/instanceName": instance_name
"/genomics:v1/ComputeEngine/machineType": machine_type
"/genomics:v1/ComputeEngine/zone": zone
"/genomics:v1/ContainerStartedEvent": container_started_event
"/genomics:v1/ContainerStartedEvent/actionId": action_id
"/genomics:v1/ContainerStartedEvent/ipAddress": ip_address
"/genomics:v1/ContainerStartedEvent/portMappings": port_mappings
"/genomics:v1/ContainerStartedEvent/portMappings/port_mapping": port_mapping
"/genomics:v1/ContainerStoppedEvent": container_stopped_event
"/genomics:v1/ContainerStoppedEvent/actionId": action_id
"/genomics:v1/ContainerStoppedEvent/exitStatus": exit_status
"/genomics:v1/CoverageBucket": coverage_bucket
"/genomics:v1/CoverageBucket/meanCoverage": mean_coverage
"/genomics:v1/CoverageBucket/range": range
@ -50545,10 +50555,19 @@
"/genomics:v1/Dataset/id": id
"/genomics:v1/Dataset/name": name
"/genomics:v1/Dataset/projectId": project_id
"/genomics:v1/DelayedEvent": delayed_event
"/genomics:v1/DelayedEvent/cause": cause
"/genomics:v1/DelayedEvent/metrics": metrics
"/genomics:v1/DelayedEvent/metrics/metric": metric
"/genomics:v1/Empty": empty
"/genomics:v1/Entry": entry
"/genomics:v1/Entry/annotation": annotation
"/genomics:v1/Entry/status": status
"/genomics:v1/Event": event
"/genomics:v1/Event/description": description
"/genomics:v1/Event/details": details
"/genomics:v1/Event/details/detail": detail
"/genomics:v1/Event/timestamp": timestamp
"/genomics:v1/Exon": exon
"/genomics:v1/Exon/end": end
"/genomics:v1/Exon/frame": frame
@ -50573,6 +50592,9 @@
"/genomics:v1/ExternalId": external_id
"/genomics:v1/ExternalId/id": id
"/genomics:v1/ExternalId/sourceName": source_name
"/genomics:v1/FailedEvent": failed_event
"/genomics:v1/FailedEvent/cause": cause
"/genomics:v1/FailedEvent/code": code
"/genomics:v1/GetIamPolicyRequest": get_iam_policy_request
"/genomics:v1/ImportReadGroupSetsRequest": import_read_group_sets_request
"/genomics:v1/ImportReadGroupSetsRequest/datasetId": dataset_id
@ -50663,6 +50685,10 @@
"/genomics:v1/Program/name": name
"/genomics:v1/Program/prevProgramId": prev_program_id
"/genomics:v1/Program/version": version
"/genomics:v1/PullStartedEvent": pull_started_event
"/genomics:v1/PullStartedEvent/imageUri": image_uri
"/genomics:v1/PullStoppedEvent": pull_stopped_event
"/genomics:v1/PullStoppedEvent/imageUri": image_uri
"/genomics:v1/Range": range
"/genomics:v1/Range/end": end
"/genomics:v1/Range/referenceName": reference_name
@ -50867,6 +50893,9 @@
"/genomics:v1/Transcript/exons/exon": exon
"/genomics:v1/Transcript/geneId": gene_id
"/genomics:v1/UndeleteDatasetRequest": undelete_dataset_request
"/genomics:v1/UnexpectedExitStatusEvent": unexpected_exit_status_event
"/genomics:v1/UnexpectedExitStatusEvent/actionId": action_id
"/genomics:v1/UnexpectedExitStatusEvent/exitStatus": exit_status
"/genomics:v1/Variant": variant
"/genomics:v1/Variant/alternateBases": alternate_bases
"/genomics:v1/Variant/alternateBases/alternate_basis": alternate_basis
@ -50928,6 +50957,12 @@
"/genomics:v1/VariantSetMetadata/number": number
"/genomics:v1/VariantSetMetadata/type": type
"/genomics:v1/VariantSetMetadata/value": value
"/genomics:v1/WorkerAssignedEvent": worker_assigned_event
"/genomics:v1/WorkerAssignedEvent/instance": instance
"/genomics:v1/WorkerAssignedEvent/zone": zone
"/genomics:v1/WorkerReleasedEvent": worker_released_event
"/genomics:v1/WorkerReleasedEvent/instance": instance
"/genomics:v1/WorkerReleasedEvent/zone": zone
"/genomics:v1/fields": fields
"/genomics:v1/genomics.annotations.batchCreate": batch_create_annotations
"/genomics:v1/genomics.annotations.create": create_annotation
@ -51054,6 +51089,14 @@
"/genomics:v1alpha2/ComputeEngine/instanceName": instance_name
"/genomics:v1alpha2/ComputeEngine/machineType": machine_type
"/genomics:v1alpha2/ComputeEngine/zone": zone
"/genomics:v1alpha2/ContainerStartedEvent": container_started_event
"/genomics:v1alpha2/ContainerStartedEvent/actionId": action_id
"/genomics:v1alpha2/ContainerStartedEvent/ipAddress": ip_address
"/genomics:v1alpha2/ContainerStartedEvent/portMappings": port_mappings
"/genomics:v1alpha2/ContainerStartedEvent/portMappings/port_mapping": port_mapping
"/genomics:v1alpha2/ContainerStoppedEvent": container_stopped_event
"/genomics:v1alpha2/ContainerStoppedEvent/actionId": action_id
"/genomics:v1alpha2/ContainerStoppedEvent/exitStatus": exit_status
"/genomics:v1alpha2/ControllerConfig": controller_config
"/genomics:v1alpha2/ControllerConfig/cmd": cmd
"/genomics:v1alpha2/ControllerConfig/disks": disks
@ -51067,6 +51110,10 @@
"/genomics:v1alpha2/ControllerConfig/machineType": machine_type
"/genomics:v1alpha2/ControllerConfig/vars": vars
"/genomics:v1alpha2/ControllerConfig/vars/var": var
"/genomics:v1alpha2/DelayedEvent": delayed_event
"/genomics:v1alpha2/DelayedEvent/cause": cause
"/genomics:v1alpha2/DelayedEvent/metrics": metrics
"/genomics:v1alpha2/DelayedEvent/metrics/metric": metric
"/genomics:v1alpha2/Disk": disk
"/genomics:v1alpha2/Disk/autoDelete": auto_delete
"/genomics:v1alpha2/Disk/mountPoint": mount_point
@ -51079,6 +51126,14 @@
"/genomics:v1alpha2/DockerExecutor/cmd": cmd
"/genomics:v1alpha2/DockerExecutor/imageName": image_name
"/genomics:v1alpha2/Empty": empty
"/genomics:v1alpha2/Event": event
"/genomics:v1alpha2/Event/description": description
"/genomics:v1alpha2/Event/details": details
"/genomics:v1alpha2/Event/details/detail": detail
"/genomics:v1alpha2/Event/timestamp": timestamp
"/genomics:v1alpha2/FailedEvent": failed_event
"/genomics:v1alpha2/FailedEvent/cause": cause
"/genomics:v1alpha2/FailedEvent/code": code
"/genomics:v1alpha2/ImportReadGroupSetsResponse": import_read_group_sets_response
"/genomics:v1alpha2/ImportReadGroupSetsResponse/readGroupSetIds": read_group_set_ids
"/genomics:v1alpha2/ImportReadGroupSetsResponse/readGroupSetIds/read_group_set_id": read_group_set_id
@ -51152,6 +51207,10 @@
"/genomics:v1alpha2/PipelineResources/preemptible": preemptible
"/genomics:v1alpha2/PipelineResources/zones": zones
"/genomics:v1alpha2/PipelineResources/zones/zone": zone
"/genomics:v1alpha2/PullStartedEvent": pull_started_event
"/genomics:v1alpha2/PullStartedEvent/imageUri": image_uri
"/genomics:v1alpha2/PullStoppedEvent": pull_stopped_event
"/genomics:v1alpha2/PullStoppedEvent/imageUri": image_uri
"/genomics:v1alpha2/RepeatedString": repeated_string
"/genomics:v1alpha2/RepeatedString/values": values
"/genomics:v1alpha2/RepeatedString/values/value": value
@ -51194,6 +51253,15 @@
"/genomics:v1alpha2/TimestampEvent": timestamp_event
"/genomics:v1alpha2/TimestampEvent/description": description
"/genomics:v1alpha2/TimestampEvent/timestamp": timestamp
"/genomics:v1alpha2/UnexpectedExitStatusEvent": unexpected_exit_status_event
"/genomics:v1alpha2/UnexpectedExitStatusEvent/actionId": action_id
"/genomics:v1alpha2/UnexpectedExitStatusEvent/exitStatus": exit_status
"/genomics:v1alpha2/WorkerAssignedEvent": worker_assigned_event
"/genomics:v1alpha2/WorkerAssignedEvent/instance": instance
"/genomics:v1alpha2/WorkerAssignedEvent/zone": zone
"/genomics:v1alpha2/WorkerReleasedEvent": worker_released_event
"/genomics:v1alpha2/WorkerReleasedEvent/instance": instance
"/genomics:v1alpha2/WorkerReleasedEvent/zone": zone
"/genomics:v1alpha2/fields": fields
"/genomics:v1alpha2/genomics.operations.cancel": cancel_operation
"/genomics:v1alpha2/genomics.operations.cancel/name": name
@ -51241,6 +51309,184 @@
"/genomics:v1beta2/genomics.references.bases.list/start": start_position
"/genomics:v1beta2/genomics.referencesets.get": get_reference_set
"/genomics:v1beta2/genomics.streamingReadstore.streamreads": stream_reads
"/genomics:v2alpha1/Action": action
"/genomics:v2alpha1/Action/commands": commands
"/genomics:v2alpha1/Action/commands/command": command
"/genomics:v2alpha1/Action/entrypoint": entrypoint
"/genomics:v2alpha1/Action/environment": environment
"/genomics:v2alpha1/Action/environment/environment": environment
"/genomics:v2alpha1/Action/flags": flags
"/genomics:v2alpha1/Action/flags/flag": flag
"/genomics:v2alpha1/Action/imageUri": image_uri
"/genomics:v2alpha1/Action/labels": labels
"/genomics:v2alpha1/Action/labels/label": label
"/genomics:v2alpha1/Action/mounts": mounts
"/genomics:v2alpha1/Action/mounts/mount": mount
"/genomics:v2alpha1/Action/name": name
"/genomics:v2alpha1/Action/pidNamespace": pid_namespace
"/genomics:v2alpha1/Action/portMappings": port_mappings
"/genomics:v2alpha1/Action/portMappings/port_mapping": port_mapping
"/genomics:v2alpha1/CancelOperationRequest": cancel_operation_request
"/genomics:v2alpha1/CheckInRequest": check_in_request
"/genomics:v2alpha1/CheckInRequest/deadlineExpired": deadline_expired
"/genomics:v2alpha1/CheckInRequest/event": event
"/genomics:v2alpha1/CheckInRequest/event/event": event
"/genomics:v2alpha1/CheckInRequest/result": result
"/genomics:v2alpha1/CheckInResponse": check_in_response
"/genomics:v2alpha1/CheckInResponse/deadline": deadline
"/genomics:v2alpha1/CheckInResponse/metadata": metadata
"/genomics:v2alpha1/CheckInResponse/metadata/metadatum": metadatum
"/genomics:v2alpha1/ComputeEngine": compute_engine
"/genomics:v2alpha1/ComputeEngine/diskNames": disk_names
"/genomics:v2alpha1/ComputeEngine/diskNames/disk_name": disk_name
"/genomics:v2alpha1/ComputeEngine/instanceName": instance_name
"/genomics:v2alpha1/ComputeEngine/machineType": machine_type
"/genomics:v2alpha1/ComputeEngine/zone": zone
"/genomics:v2alpha1/ContainerStartedEvent": container_started_event
"/genomics:v2alpha1/ContainerStartedEvent/actionId": action_id
"/genomics:v2alpha1/ContainerStartedEvent/ipAddress": ip_address
"/genomics:v2alpha1/ContainerStartedEvent/portMappings": port_mappings
"/genomics:v2alpha1/ContainerStartedEvent/portMappings/port_mapping": port_mapping
"/genomics:v2alpha1/ContainerStoppedEvent": container_stopped_event
"/genomics:v2alpha1/ContainerStoppedEvent/actionId": action_id
"/genomics:v2alpha1/ContainerStoppedEvent/exitStatus": exit_status
"/genomics:v2alpha1/DelayedEvent": delayed_event
"/genomics:v2alpha1/DelayedEvent/cause": cause
"/genomics:v2alpha1/DelayedEvent/metrics": metrics
"/genomics:v2alpha1/DelayedEvent/metrics/metric": metric
"/genomics:v2alpha1/Disk": disk
"/genomics:v2alpha1/Disk/name": name
"/genomics:v2alpha1/Disk/sizeGb": size_gb
"/genomics:v2alpha1/Disk/sourceImage": source_image
"/genomics:v2alpha1/Disk/type": type
"/genomics:v2alpha1/Empty": empty
"/genomics:v2alpha1/Event": event
"/genomics:v2alpha1/Event/description": description
"/genomics:v2alpha1/Event/details": details
"/genomics:v2alpha1/Event/details/detail": detail
"/genomics:v2alpha1/Event/timestamp": timestamp
"/genomics:v2alpha1/FailedEvent": failed_event
"/genomics:v2alpha1/FailedEvent/cause": cause
"/genomics:v2alpha1/FailedEvent/code": code
"/genomics:v2alpha1/ImportReadGroupSetsResponse": import_read_group_sets_response
"/genomics:v2alpha1/ImportReadGroupSetsResponse/readGroupSetIds": read_group_set_ids
"/genomics:v2alpha1/ImportReadGroupSetsResponse/readGroupSetIds/read_group_set_id": read_group_set_id
"/genomics:v2alpha1/ImportVariantsResponse": import_variants_response
"/genomics:v2alpha1/ImportVariantsResponse/callSetIds": call_set_ids
"/genomics:v2alpha1/ImportVariantsResponse/callSetIds/call_set_id": call_set_id
"/genomics:v2alpha1/ListOperationsResponse": list_operations_response
"/genomics:v2alpha1/ListOperationsResponse/nextPageToken": next_page_token
"/genomics:v2alpha1/ListOperationsResponse/operations": operations
"/genomics:v2alpha1/ListOperationsResponse/operations/operation": operation
"/genomics:v2alpha1/Metadata": metadata
"/genomics:v2alpha1/Metadata/createTime": create_time
"/genomics:v2alpha1/Metadata/events": events
"/genomics:v2alpha1/Metadata/events/event": event
"/genomics:v2alpha1/Metadata/labels": labels
"/genomics:v2alpha1/Metadata/labels/label": label
"/genomics:v2alpha1/Metadata/pipeline": pipeline
"/genomics:v2alpha1/Mount": mount
"/genomics:v2alpha1/Mount/disk": disk
"/genomics:v2alpha1/Mount/path": path
"/genomics:v2alpha1/Mount/readOnly": read_only
"/genomics:v2alpha1/Network": network
"/genomics:v2alpha1/Network/name": name
"/genomics:v2alpha1/Network/usePrivateAddress": use_private_address
"/genomics:v2alpha1/Operation": operation
"/genomics:v2alpha1/Operation/done": done
"/genomics:v2alpha1/Operation/error": error
"/genomics:v2alpha1/Operation/metadata": metadata
"/genomics:v2alpha1/Operation/metadata/metadatum": metadatum
"/genomics:v2alpha1/Operation/name": name
"/genomics:v2alpha1/Operation/response": response
"/genomics:v2alpha1/Operation/response/response": response
"/genomics:v2alpha1/OperationEvent": operation_event
"/genomics:v2alpha1/OperationEvent/description": description
"/genomics:v2alpha1/OperationEvent/endTime": end_time
"/genomics:v2alpha1/OperationEvent/startTime": start_time
"/genomics:v2alpha1/OperationMetadata": operation_metadata
"/genomics:v2alpha1/OperationMetadata/clientId": client_id
"/genomics:v2alpha1/OperationMetadata/createTime": create_time
"/genomics:v2alpha1/OperationMetadata/endTime": end_time
"/genomics:v2alpha1/OperationMetadata/events": events
"/genomics:v2alpha1/OperationMetadata/events/event": event
"/genomics:v2alpha1/OperationMetadata/labels": labels
"/genomics:v2alpha1/OperationMetadata/labels/label": label
"/genomics:v2alpha1/OperationMetadata/projectId": project_id
"/genomics:v2alpha1/OperationMetadata/request": request
"/genomics:v2alpha1/OperationMetadata/request/request": request
"/genomics:v2alpha1/OperationMetadata/runtimeMetadata": runtime_metadata
"/genomics:v2alpha1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum
"/genomics:v2alpha1/OperationMetadata/startTime": start_time
"/genomics:v2alpha1/Pipeline": pipeline
"/genomics:v2alpha1/Pipeline/actions": actions
"/genomics:v2alpha1/Pipeline/actions/action": action
"/genomics:v2alpha1/Pipeline/environment": environment
"/genomics:v2alpha1/Pipeline/environment/environment": environment
"/genomics:v2alpha1/Pipeline/resources": resources
"/genomics:v2alpha1/PullStartedEvent": pull_started_event
"/genomics:v2alpha1/PullStartedEvent/imageUri": image_uri
"/genomics:v2alpha1/PullStoppedEvent": pull_stopped_event
"/genomics:v2alpha1/PullStoppedEvent/imageUri": image_uri
"/genomics:v2alpha1/Resources": resources
"/genomics:v2alpha1/Resources/projectId": project_id
"/genomics:v2alpha1/Resources/regions": regions
"/genomics:v2alpha1/Resources/regions/region": region
"/genomics:v2alpha1/Resources/virtualMachine": virtual_machine
"/genomics:v2alpha1/Resources/zones": zones
"/genomics:v2alpha1/Resources/zones/zone": zone
"/genomics:v2alpha1/RunPipelineRequest": run_pipeline_request
"/genomics:v2alpha1/RunPipelineRequest/labels": labels
"/genomics:v2alpha1/RunPipelineRequest/labels/label": label
"/genomics:v2alpha1/RunPipelineRequest/pipeline": pipeline
"/genomics:v2alpha1/RuntimeMetadata": runtime_metadata
"/genomics:v2alpha1/RuntimeMetadata/computeEngine": compute_engine
"/genomics:v2alpha1/ServiceAccount": service_account
"/genomics:v2alpha1/ServiceAccount/email": email
"/genomics:v2alpha1/ServiceAccount/scopes": scopes
"/genomics:v2alpha1/ServiceAccount/scopes/scope": scope
"/genomics:v2alpha1/Status": status
"/genomics:v2alpha1/Status/code": code
"/genomics:v2alpha1/Status/details": details
"/genomics:v2alpha1/Status/details/detail": detail
"/genomics:v2alpha1/Status/details/detail/detail": detail
"/genomics:v2alpha1/Status/message": message
"/genomics:v2alpha1/UnexpectedExitStatusEvent": unexpected_exit_status_event
"/genomics:v2alpha1/UnexpectedExitStatusEvent/actionId": action_id
"/genomics:v2alpha1/UnexpectedExitStatusEvent/exitStatus": exit_status
"/genomics:v2alpha1/VirtualMachine": virtual_machine
"/genomics:v2alpha1/VirtualMachine/bootDiskSizeGb": boot_disk_size_gb
"/genomics:v2alpha1/VirtualMachine/bootImage": boot_image
"/genomics:v2alpha1/VirtualMachine/cpuPlatform": cpu_platform
"/genomics:v2alpha1/VirtualMachine/disks": disks
"/genomics:v2alpha1/VirtualMachine/disks/disk": disk
"/genomics:v2alpha1/VirtualMachine/labels": labels
"/genomics:v2alpha1/VirtualMachine/labels/label": label
"/genomics:v2alpha1/VirtualMachine/machineType": machine_type
"/genomics:v2alpha1/VirtualMachine/network": network
"/genomics:v2alpha1/VirtualMachine/preemptible": preemptible
"/genomics:v2alpha1/VirtualMachine/serviceAccount": service_account
"/genomics:v2alpha1/WorkerAssignedEvent": worker_assigned_event
"/genomics:v2alpha1/WorkerAssignedEvent/instance": instance
"/genomics:v2alpha1/WorkerAssignedEvent/zone": zone
"/genomics:v2alpha1/WorkerReleasedEvent": worker_released_event
"/genomics:v2alpha1/WorkerReleasedEvent/instance": instance
"/genomics:v2alpha1/WorkerReleasedEvent/zone": zone
"/genomics:v2alpha1/fields": fields
"/genomics:v2alpha1/genomics.pipelines.run": run_pipeline
"/genomics:v2alpha1/genomics.projects.operations.cancel": cancel_operation
"/genomics:v2alpha1/genomics.projects.operations.cancel/name": name
"/genomics:v2alpha1/genomics.projects.operations.get": get_project_operation
"/genomics:v2alpha1/genomics.projects.operations.get/name": name
"/genomics:v2alpha1/genomics.projects.operations.list": list_project_operations
"/genomics:v2alpha1/genomics.projects.operations.list/filter": filter
"/genomics:v2alpha1/genomics.projects.operations.list/name": name
"/genomics:v2alpha1/genomics.projects.operations.list/pageSize": page_size
"/genomics:v2alpha1/genomics.projects.operations.list/pageToken": page_token
"/genomics:v2alpha1/genomics.workers.checkIn": check_worker_in
"/genomics:v2alpha1/genomics.workers.checkIn/id": id
"/genomics:v2alpha1/key": key
"/genomics:v2alpha1/quotaUser": quota_user
"/gmail:v1/AutoForwarding": auto_forwarding
"/gmail:v1/AutoForwarding/disposition": disposition
"/gmail:v1/AutoForwarding/emailAddress": email_address
@ -62893,6 +63139,10 @@
"/slides:v1/ReplaceAllTextRequest/replaceText": replace_text
"/slides:v1/ReplaceAllTextResponse": replace_all_text_response
"/slides:v1/ReplaceAllTextResponse/occurrencesChanged": occurrences_changed
"/slides:v1/ReplaceImageRequest": replace_image_request
"/slides:v1/ReplaceImageRequest/imageObjectId": image_object_id
"/slides:v1/ReplaceImageRequest/imageReplaceMethod": image_replace_method
"/slides:v1/ReplaceImageRequest/url": url
"/slides:v1/Request": request
"/slides:v1/Request/createImage": create_image
"/slides:v1/Request/createLine": create_line
@ -62917,6 +63167,7 @@
"/slides:v1/Request/replaceAllShapesWithImage": replace_all_shapes_with_image
"/slides:v1/Request/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart
"/slides:v1/Request/replaceAllText": replace_all_text
"/slides:v1/Request/replaceImage": replace_image
"/slides:v1/Request/ungroupObjects": ungroup_objects
"/slides:v1/Request/unmergeTableCells": unmerge_table_cells
"/slides:v1/Request/updateImageProperties": update_image_properties
@ -63160,7 +63411,11 @@
"/slides:v1/Video/url": url
"/slides:v1/Video/videoProperties": video_properties
"/slides:v1/VideoProperties": video_properties
"/slides:v1/VideoProperties/autoPlay": auto_play
"/slides:v1/VideoProperties/end": end
"/slides:v1/VideoProperties/mute": mute
"/slides:v1/VideoProperties/outline": outline
"/slides:v1/VideoProperties/start": start
"/slides:v1/WeightedFontFamily": weighted_font_family
"/slides:v1/WeightedFontFamily/fontFamily": font_family
"/slides:v1/WeightedFontFamily/weight": weight

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
REVISION = '20180207'
REVISION = '20180212'
# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -18,14 +18,14 @@ require 'google/apis/cloudbuild_v1/representations.rb'
module Google
module Apis
# Google Cloud Container Builder API
# Cloud Container Builder API
#
# Builds container images in the cloud.
#
# @see https://cloud.google.com/container-builder/docs/
module CloudbuildV1
VERSION = 'V1'
REVISION = '20180205'
REVISION = '20180220'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -361,6 +361,21 @@ module Google
# @return [Array<String>]
attr_accessor :secret_env
# Status of the build step. At this time, build step status is only updated
# on build completion; step status is not updated in real-time as the build
# progresses.
# @OutputOnly
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
# Time limit for executing this build step. If not defined, the step has no
# time limit and will be allowed to continue to run until either it completes
# or the build itself times out.
# Corresponds to the JSON property `timeout`
# @return [String]
attr_accessor :timeout
# Stores start and end times for a build execution phase.
# Corresponds to the JSON property `timing`
# @return [Google::Apis::CloudbuildV1::TimeSpan]
@ -398,6 +413,8 @@ module Google
@id = args[:id] if args.key?(:id)
@name = args[:name] if args.key?(:name)
@secret_env = args[:secret_env] if args.key?(:secret_env)
@status = args[:status] if args.key?(:status)
@timeout = args[:timeout] if args.key?(:timeout)
@timing = args[:timing] if args.key?(:timing)
@volumes = args[:volumes] if args.key?(:volumes)
@wait_for = args[:wait_for] if args.key?(:wait_for)

View File

@ -236,6 +236,8 @@ module Google
property :id, as: 'id'
property :name, as: 'name'
collection :secret_env, as: 'secretEnv'
property :status, as: 'status'
property :timeout, as: 'timeout'
property :timing, as: 'timing', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1::Volume, decorator: Google::Apis::CloudbuildV1::Volume::Representation

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module CloudbuildV1
# Google Cloud Container Builder API
# Cloud Container Builder API
#
# Builds container images in the cloud.
#

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics
module GenomicsV1
VERSION = 'V1'
REVISION = '20180208'
REVISION = '20180220'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -485,6 +485,67 @@ module Google
end
end
# This event is generated when a container starts.
class ContainerStartedEvent
include Google::Apis::Core::Hashable
# The numeric ID of the action that started this container.
# Corresponds to the JSON property `actionId`
# @return [Fixnum]
attr_accessor :action_id
# The public IP address that can be used to connect to the container. This
# field is only populated when at least one port mapping is present. If the
# instance was created with a private address this field will be empty even
# if port mappings exist.
# Corresponds to the JSON property `ipAddress`
# @return [String]
attr_accessor :ip_address
# The container to host port mappings installed for this container. This
# set will contain any ports exposed using the PUBLISH_EXPOSED_PORTS flag as
# well as any specified in the Action definition.
# Corresponds to the JSON property `portMappings`
# @return [Hash<String,Fixnum>]
attr_accessor :port_mappings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@action_id = args[:action_id] if args.key?(:action_id)
@ip_address = args[:ip_address] if args.key?(:ip_address)
@port_mappings = args[:port_mappings] if args.key?(:port_mappings)
end
end
# This event is generated when a container exits.
class ContainerStoppedEvent
include Google::Apis::Core::Hashable
# The numeric ID of the action that started this container.
# Corresponds to the JSON property `actionId`
# @return [Fixnum]
attr_accessor :action_id
# The exit status of the container.
# Corresponds to the JSON property `exitStatus`
# @return [Fixnum]
attr_accessor :exit_status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@action_id = args[:action_id] if args.key?(:action_id)
@exit_status = args[:exit_status] if args.key?(:exit_status)
end
end
# A bucket over which read coverage has been precomputed. A bucket corresponds
# to a specific range of the reference sequence.
class CoverageBucket
@ -551,6 +612,37 @@ module Google
end
end
# This event is generated whenever a resource limitation or transient error
# delays execution of a pipeline that was otherwise ready to run.
class DelayedEvent
include Google::Apis::Core::Hashable
# A textual description of the cause of the delay. The string may change
# without notice since it is often generated by another service (such as
# Compute Engine).
# Corresponds to the JSON property `cause`
# @return [String]
attr_accessor :cause
# If the delay was caused by a resource shortage, this field lists the
# Compute Engine metrics that are preventing this operation from running
# (for example, CPUS or INSTANCES). If the particular metric is not known,
# a single UNKNOWN metric will be present.
# Corresponds to the JSON property `metrics`
# @return [Array<String>]
attr_accessor :metrics
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cause = args[:cause] if args.key?(:cause)
@metrics = args[:metrics] if args.key?(:metrics)
end
end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
@ -638,6 +730,39 @@ module Google
end
end
# Event carries information about events that occur during pipeline execution.
class Event
include Google::Apis::Core::Hashable
# A human readable description of the event. Note that these strings may
# change at any time without notice. Any application logic must use the
# information in the details field.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Machine readable details about the event.
# Corresponds to the JSON property `details`
# @return [Hash<String,Object>]
attr_accessor :details
# The time that the event occurred.
# Corresponds to the JSON property `timestamp`
# @return [String]
attr_accessor :timestamp
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@details = args[:details] if args.key?(:details)
@timestamp = args[:timestamp] if args.key?(:timestamp)
end
end
#
class Exon
include Google::Apis::Core::Hashable
@ -837,6 +962,32 @@ module Google
end
end
# This event is generated when the execution of a pipeline has failed. Note
# that other events may continue to occur after this event.
class FailedEvent
include Google::Apis::Core::Hashable
# The human readable description of the cause of the failure.
# Corresponds to the JSON property `cause`
# @return [String]
attr_accessor :cause
# The Google standard error code that best describes this failure.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cause = args[:cause] if args.key?(:cause)
@code = args[:code] if args.key?(:code)
end
end
# Request message for `GetIamPolicy` method.
class GetIamPolicyRequest
include Google::Apis::Core::Hashable
@ -1533,6 +1684,44 @@ module Google
end
end
# This event is generated when the worker starts pulling an image.
class PullStartedEvent
include Google::Apis::Core::Hashable
# The URI of the image that was pulled.
# Corresponds to the JSON property `imageUri`
# @return [String]
attr_accessor :image_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@image_uri = args[:image_uri] if args.key?(:image_uri)
end
end
# This event is generated when the worker stops pulling an image.
class PullStoppedEvent
include Google::Apis::Core::Hashable
# The URI of the image that was pulled.
# Corresponds to the JSON property `imageUri`
# @return [String]
attr_accessor :image_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@image_uri = args[:image_uri] if args.key?(:image_uri)
end
end
# A 0-based half-open genomic coordinate range for search requests.
class Range
include Google::Apis::Core::Hashable
@ -3097,6 +3286,34 @@ module Google
end
end
# This event is generated when the execution of a container results in a
# non-zero exit status that was not otherwise ignored. Execution will
# continue, but only actions that are flagged as ALWAYS_RUN will be executed:
# other actions will be skipped.
class UnexpectedExitStatusEvent
include Google::Apis::Core::Hashable
# The numeric ID of the action that started the container.
# Corresponds to the JSON property `actionId`
# @return [Fixnum]
attr_accessor :action_id
# The exit status of the container.
# Corresponds to the JSON property `exitStatus`
# @return [Fixnum]
attr_accessor :exit_status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@action_id = args[:action_id] if args.key?(:action_id)
@exit_status = args[:exit_status] if args.key?(:exit_status)
end
end
# A variant represents a change in DNA sequence relative to a reference
# sequence. For example, a variant could represent a SNP or an insertion.
# Variants belong to a variant set.
@ -3472,6 +3689,58 @@ module Google
@value = args[:value] if args.key?(:value)
end
end
# This event is generated once a worker VM has been assigned to run the
# pipeline.
class WorkerAssignedEvent
include Google::Apis::Core::Hashable
# The worker's instance name.
# Corresponds to the JSON property `instance`
# @return [String]
attr_accessor :instance
# The zone the worker is running in.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instance = args[:instance] if args.key?(:instance)
@zone = args[:zone] if args.key?(:zone)
end
end
# This event is generated when the worker VM that was assigned to the pipeline
# has been released (i.e., deleted).
class WorkerReleasedEvent
include Google::Apis::Core::Hashable
# The worker's instance name.
# Corresponds to the JSON property `instance`
# @return [String]
attr_accessor :instance
# The zone the worker was running in.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instance = args[:instance] if args.key?(:instance)
@zone = args[:zone] if args.key?(:zone)
end
end
end
end
end

View File

@ -88,6 +88,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ContainerStartedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ContainerStoppedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CoverageBucket
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -100,6 +112,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DelayedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -112,6 +130,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Event
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Exon
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -142,6 +166,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class FailedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -244,6 +274,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PullStartedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PullStoppedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Range
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -436,6 +478,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UnexpectedExitStatusEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Variant
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -466,6 +514,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class WorkerAssignedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkerReleasedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Annotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -592,6 +652,23 @@ module Google
end
end
class ContainerStartedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
property :ip_address, as: 'ipAddress'
hash :port_mappings, as: 'portMappings'
end
end
class ContainerStoppedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
property :exit_status, as: 'exitStatus'
end
end
class CoverageBucket
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -611,6 +688,14 @@ module Google
end
end
class DelayedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cause, as: 'cause'
collection :metrics, as: 'metrics'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -627,6 +712,15 @@ module Google
end
end
class Event
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
hash :details, as: 'details'
property :timestamp, as: 'timestamp'
end
end
class Exon
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -674,6 +768,14 @@ module Google
end
end
class FailedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cause, as: 'cause'
property :code, as: 'code'
end
end
class GetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -840,6 +942,20 @@ module Google
end
end
class PullStartedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_uri, as: 'imageUri'
end
end
class PullStoppedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_uri, as: 'imageUri'
end
end
class Range
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1194,6 +1310,14 @@ module Google
end
end
class UnexpectedExitStatusEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
property :exit_status, as: 'exitStatus'
end
end
class Variant
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1279,6 +1403,22 @@ module Google
property :value, as: 'value'
end
end
class WorkerAssignedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance, as: 'instance'
property :zone, as: 'zone'
end
end
class WorkerReleasedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance, as: 'instance'
property :zone, as: 'zone'
end
end
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics
module GenomicsV1alpha2
VERSION = 'V1alpha2'
REVISION = '20180208'
REVISION = '20180220'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -73,6 +73,67 @@ module Google
end
end
# This event is generated when a container starts.
class ContainerStartedEvent
include Google::Apis::Core::Hashable
# The numeric ID of the action that started this container.
# Corresponds to the JSON property `actionId`
# @return [Fixnum]
attr_accessor :action_id
# The public IP address that can be used to connect to the container. This
# field is only populated when at least one port mapping is present. If the
# instance was created with a private address this field will be empty even
# if port mappings exist.
# Corresponds to the JSON property `ipAddress`
# @return [String]
attr_accessor :ip_address
# The container to host port mappings installed for this container. This
# set will contain any ports exposed using the PUBLISH_EXPOSED_PORTS flag as
# well as any specified in the Action definition.
# Corresponds to the JSON property `portMappings`
# @return [Hash<String,Fixnum>]
attr_accessor :port_mappings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@action_id = args[:action_id] if args.key?(:action_id)
@ip_address = args[:ip_address] if args.key?(:ip_address)
@port_mappings = args[:port_mappings] if args.key?(:port_mappings)
end
end
# This event is generated when a container exits.
class ContainerStoppedEvent
include Google::Apis::Core::Hashable
# The numeric ID of the action that started this container.
# Corresponds to the JSON property `actionId`
# @return [Fixnum]
attr_accessor :action_id
# The exit status of the container.
# Corresponds to the JSON property `exitStatus`
# @return [Fixnum]
attr_accessor :exit_status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@action_id = args[:action_id] if args.key?(:action_id)
@exit_status = args[:exit_status] if args.key?(:exit_status)
end
end
# Stores the information that the controller will fetch from the
# server in order to run. Should only be used by VMs created by the
# Pipelines Service and not by end users.
@ -136,6 +197,37 @@ module Google
end
end
# This event is generated whenever a resource limitation or transient error
# delays execution of a pipeline that was otherwise ready to run.
class DelayedEvent
include Google::Apis::Core::Hashable
# A textual description of the cause of the delay. The string may change
# without notice since it is often generated by another service (such as
# Compute Engine).
# Corresponds to the JSON property `cause`
# @return [String]
attr_accessor :cause
# If the delay was caused by a resource shortage, this field lists the
# Compute Engine metrics that are preventing this operation from running
# (for example, CPUS or INSTANCES). If the particular metric is not known,
# a single UNKNOWN metric will be present.
# Corresponds to the JSON property `metrics`
# @return [Array<String>]
attr_accessor :metrics
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cause = args[:cause] if args.key?(:cause)
@metrics = args[:metrics] if args.key?(:metrics)
end
end
# A Google Compute Engine disk resource specification.
class Disk
include Google::Apis::Core::Hashable
@ -260,6 +352,65 @@ module Google
end
end
# Event carries information about events that occur during pipeline execution.
class Event
include Google::Apis::Core::Hashable
# A human readable description of the event. Note that these strings may
# change at any time without notice. Any application logic must use the
# information in the details field.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Machine readable details about the event.
# Corresponds to the JSON property `details`
# @return [Hash<String,Object>]
attr_accessor :details
# The time that the event occurred.
# Corresponds to the JSON property `timestamp`
# @return [String]
attr_accessor :timestamp
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@details = args[:details] if args.key?(:details)
@timestamp = args[:timestamp] if args.key?(:timestamp)
end
end
# This event is generated when the execution of a pipeline has failed. Note
# that other events may continue to occur after this event.
class FailedEvent
include Google::Apis::Core::Hashable
# The human readable description of the cause of the failure.
# Corresponds to the JSON property `cause`
# @return [String]
attr_accessor :cause
# The Google standard error code that best describes this failure.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cause = args[:cause] if args.key?(:cause)
@code = args[:code] if args.key?(:code)
end
end
# The read group set import response.
class ImportReadGroupSetsResponse
include Google::Apis::Core::Hashable
@ -878,6 +1029,44 @@ module Google
end
end
# This event is generated when the worker starts pulling an image.
class PullStartedEvent
include Google::Apis::Core::Hashable
# The URI of the image that was pulled.
# Corresponds to the JSON property `imageUri`
# @return [String]
attr_accessor :image_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@image_uri = args[:image_uri] if args.key?(:image_uri)
end
end
# This event is generated when the worker stops pulling an image.
class PullStoppedEvent
include Google::Apis::Core::Hashable
# The URI of the image that was pulled.
# Corresponds to the JSON property `imageUri`
# @return [String]
attr_accessor :image_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@image_uri = args[:image_uri] if args.key?(:image_uri)
end
end
#
class RepeatedString
include Google::Apis::Core::Hashable
@ -1222,6 +1411,86 @@ module Google
@timestamp = args[:timestamp] if args.key?(:timestamp)
end
end
# This event is generated when the execution of a container results in a
# non-zero exit status that was not otherwise ignored. Execution will
# continue, but only actions that are flagged as ALWAYS_RUN will be executed:
# other actions will be skipped.
class UnexpectedExitStatusEvent
include Google::Apis::Core::Hashable
# The numeric ID of the action that started the container.
# Corresponds to the JSON property `actionId`
# @return [Fixnum]
attr_accessor :action_id
# The exit status of the container.
# Corresponds to the JSON property `exitStatus`
# @return [Fixnum]
attr_accessor :exit_status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@action_id = args[:action_id] if args.key?(:action_id)
@exit_status = args[:exit_status] if args.key?(:exit_status)
end
end
# This event is generated once a worker VM has been assigned to run the
# pipeline.
class WorkerAssignedEvent
include Google::Apis::Core::Hashable
# The worker's instance name.
# Corresponds to the JSON property `instance`
# @return [String]
attr_accessor :instance
# The zone the worker is running in.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instance = args[:instance] if args.key?(:instance)
@zone = args[:zone] if args.key?(:zone)
end
end
# This event is generated when the worker VM that was assigned to the pipeline
# has been released (i.e., deleted).
class WorkerReleasedEvent
include Google::Apis::Core::Hashable
# The worker's instance name.
# Corresponds to the JSON property `instance`
# @return [String]
attr_accessor :instance
# The zone the worker was running in.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instance = args[:instance] if args.key?(:instance)
@zone = args[:zone] if args.key?(:zone)
end
end
end
end
end

View File

@ -34,12 +34,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ContainerStartedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ContainerStoppedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ControllerConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DelayedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Disk
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -58,6 +76,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Event
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FailedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ImportReadGroupSetsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -130,6 +160,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PullStartedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PullStoppedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RepeatedString
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -178,6 +220,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UnexpectedExitStatusEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkerAssignedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkerReleasedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -194,6 +254,23 @@ module Google
end
end
class ContainerStartedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
property :ip_address, as: 'ipAddress'
hash :port_mappings, as: 'portMappings'
end
end
class ContainerStoppedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
property :exit_status, as: 'exitStatus'
end
end
class ControllerConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -210,6 +287,14 @@ module Google
end
end
class DelayedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cause, as: 'cause'
collection :metrics, as: 'metrics'
end
end
class Disk
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -237,6 +322,23 @@ module Google
end
end
class Event
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
hash :details, as: 'details'
property :timestamp, as: 'timestamp'
end
end
class FailedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cause, as: 'cause'
property :code, as: 'code'
end
end
class ImportReadGroupSetsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -366,6 +468,20 @@ module Google
end
end
class PullStartedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_uri, as: 'imageUri'
end
end
class PullStoppedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_uri, as: 'imageUri'
end
end
class RepeatedString
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -446,6 +562,30 @@ module Google
property :timestamp, as: 'timestamp'
end
end
class UnexpectedExitStatusEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
property :exit_status, as: 'exitStatus'
end
end
class WorkerAssignedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance, as: 'instance'
property :zone, as: 'zone'
end
end
class WorkerReleasedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance, as: 'instance'
property :zone, as: 'zone'
end
end
end
end
end

View File

@ -0,0 +1,37 @@
# 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/genomics_v2alpha1/service.rb'
require 'google/apis/genomics_v2alpha1/classes.rb'
require 'google/apis/genomics_v2alpha1/representations.rb'
module Google
module Apis
# Genomics API
#
# Upload, process, query, and search Genomics data in the cloud.
#
# @see https://cloud.google.com/genomics
module GenomicsV2alpha1
VERSION = 'V2alpha1'
REVISION = '20180220'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
# View and manage Genomics data
AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics'
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,535 @@
# 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 GenomicsV2alpha1
class Action
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CancelOperationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CheckInRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CheckInResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ComputeEngine
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ContainerStartedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ContainerStoppedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DelayedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Disk
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Event
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FailedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ImportReadGroupSetsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ImportVariantsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Metadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Mount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Network
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OperationEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Pipeline
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PullStartedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PullStoppedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Resources
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RunPipelineRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RuntimeMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ServiceAccount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UnexpectedExitStatusEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VirtualMachine
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkerAssignedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkerReleasedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Action
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :commands, as: 'commands'
property :entrypoint, as: 'entrypoint'
hash :environment, as: 'environment'
collection :flags, as: 'flags'
property :image_uri, as: 'imageUri'
hash :labels, as: 'labels'
collection :mounts, as: 'mounts', class: Google::Apis::GenomicsV2alpha1::Mount, decorator: Google::Apis::GenomicsV2alpha1::Mount::Representation
property :name, as: 'name'
property :pid_namespace, as: 'pidNamespace'
hash :port_mappings, as: 'portMappings'
end
end
class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class CheckInRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deadline_expired, as: 'deadlineExpired', class: Google::Apis::GenomicsV2alpha1::Empty, decorator: Google::Apis::GenomicsV2alpha1::Empty::Representation
hash :event, as: 'event'
property :result, as: 'result', class: Google::Apis::GenomicsV2alpha1::Status, decorator: Google::Apis::GenomicsV2alpha1::Status::Representation
end
end
class CheckInResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deadline, as: 'deadline'
hash :metadata, as: 'metadata'
end
end
class ComputeEngine
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :disk_names, as: 'diskNames'
property :instance_name, as: 'instanceName'
property :machine_type, as: 'machineType'
property :zone, as: 'zone'
end
end
class ContainerStartedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
property :ip_address, as: 'ipAddress'
hash :port_mappings, as: 'portMappings'
end
end
class ContainerStoppedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
property :exit_status, as: 'exitStatus'
end
end
class DelayedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cause, as: 'cause'
collection :metrics, as: 'metrics'
end
end
class Disk
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :size_gb, as: 'sizeGb'
property :source_image, as: 'sourceImage'
property :type, as: 'type'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Event
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
hash :details, as: 'details'
property :timestamp, as: 'timestamp'
end
end
class FailedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cause, as: 'cause'
property :code, as: 'code'
end
end
class ImportReadGroupSetsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :read_group_set_ids, as: 'readGroupSetIds'
end
end
class ImportVariantsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :call_set_ids, as: 'callSetIds'
end
end
class ListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :operations, as: 'operations', class: Google::Apis::GenomicsV2alpha1::Operation, decorator: Google::Apis::GenomicsV2alpha1::Operation::Representation
end
end
class Metadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
collection :events, as: 'events', class: Google::Apis::GenomicsV2alpha1::Event, decorator: Google::Apis::GenomicsV2alpha1::Event::Representation
hash :labels, as: 'labels'
property :pipeline, as: 'pipeline', class: Google::Apis::GenomicsV2alpha1::Pipeline, decorator: Google::Apis::GenomicsV2alpha1::Pipeline::Representation
end
end
class Mount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disk, as: 'disk'
property :path, as: 'path'
property :read_only, as: 'readOnly'
end
end
class Network
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :use_private_address, as: 'usePrivateAddress'
end
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::GenomicsV2alpha1::Status, decorator: Google::Apis::GenomicsV2alpha1::Status::Representation
hash :metadata, as: 'metadata'
property :name, as: 'name'
hash :response, as: 'response'
end
end
class OperationEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :end_time, as: 'endTime'
property :start_time, as: 'startTime'
end
end
class OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :client_id, as: 'clientId'
property :create_time, as: 'createTime'
property :end_time, as: 'endTime'
collection :events, as: 'events', class: Google::Apis::GenomicsV2alpha1::OperationEvent, decorator: Google::Apis::GenomicsV2alpha1::OperationEvent::Representation
hash :labels, as: 'labels'
property :project_id, as: 'projectId'
hash :request, as: 'request'
hash :runtime_metadata, as: 'runtimeMetadata'
property :start_time, as: 'startTime'
end
end
class Pipeline
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :actions, as: 'actions', class: Google::Apis::GenomicsV2alpha1::Action, decorator: Google::Apis::GenomicsV2alpha1::Action::Representation
hash :environment, as: 'environment'
property :resources, as: 'resources', class: Google::Apis::GenomicsV2alpha1::Resources, decorator: Google::Apis::GenomicsV2alpha1::Resources::Representation
end
end
class PullStartedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_uri, as: 'imageUri'
end
end
class PullStoppedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_uri, as: 'imageUri'
end
end
class Resources
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :project_id, as: 'projectId'
collection :regions, as: 'regions'
property :virtual_machine, as: 'virtualMachine', class: Google::Apis::GenomicsV2alpha1::VirtualMachine, decorator: Google::Apis::GenomicsV2alpha1::VirtualMachine::Representation
collection :zones, as: 'zones'
end
end
class RunPipelineRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :labels, as: 'labels'
property :pipeline, as: 'pipeline', class: Google::Apis::GenomicsV2alpha1::Pipeline, decorator: Google::Apis::GenomicsV2alpha1::Pipeline::Representation
end
end
class RuntimeMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV2alpha1::ComputeEngine, decorator: Google::Apis::GenomicsV2alpha1::ComputeEngine::Representation
end
end
class ServiceAccount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :email, as: 'email'
collection :scopes, as: 'scopes'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end
class UnexpectedExitStatusEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_id, as: 'actionId'
property :exit_status, as: 'exitStatus'
end
end
class VirtualMachine
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :boot_disk_size_gb, as: 'bootDiskSizeGb'
property :boot_image, as: 'bootImage'
property :cpu_platform, as: 'cpuPlatform'
collection :disks, as: 'disks', class: Google::Apis::GenomicsV2alpha1::Disk, decorator: Google::Apis::GenomicsV2alpha1::Disk::Representation
hash :labels, as: 'labels'
property :machine_type, as: 'machineType'
property :network, as: 'network', class: Google::Apis::GenomicsV2alpha1::Network, decorator: Google::Apis::GenomicsV2alpha1::Network::Representation
property :preemptible, as: 'preemptible'
property :service_account, as: 'serviceAccount', class: Google::Apis::GenomicsV2alpha1::ServiceAccount, decorator: Google::Apis::GenomicsV2alpha1::ServiceAccount::Representation
end
end
class WorkerAssignedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance, as: 'instance'
property :zone, as: 'zone'
end
end
class WorkerReleasedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance, as: 'instance'
property :zone, as: 'zone'
end
end
end
end
end

View File

@ -0,0 +1,246 @@
# 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 GenomicsV2alpha1
# Genomics API
#
# Upload, process, query, and search Genomics data in the cloud.
#
# @example
# require 'google/apis/genomics_v2alpha1'
#
# Genomics = Google::Apis::GenomicsV2alpha1 # Alias the module
# service = Genomics::GenomicsService.new
#
# @see https://cloud.google.com/genomics
class GenomicsService < 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]
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
attr_accessor :quota_user
def initialize
super('https://genomics.googleapis.com/', '')
@batch_path = 'batch'
end
# Runs a pipeline.
# @param [Google::Apis::GenomicsV2alpha1::RunPipelineRequest] run_pipeline_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::GenomicsV2alpha1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::GenomicsV2alpha1::Operation]
#
# @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 run_pipeline(run_pipeline_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2alpha1/pipelines:run', options)
command.request_representation = Google::Apis::GenomicsV2alpha1::RunPipelineRequest::Representation
command.request_object = run_pipeline_request_object
command.response_representation = Google::Apis::GenomicsV2alpha1::Operation::Representation
command.response_class = Google::Apis::GenomicsV2alpha1::Operation
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server makes
# a best effort to cancel the operation, but success is not guaranteed. Clients
# may use Operations.GetOperation or Operations.ListOperations to check whether
# the cancellation succeeded or the operation completed despite cancellation.
# @param [String] name
# The name of the operation resource to be cancelled.
# @param [Google::Apis::GenomicsV2alpha1::CancelOperationRequest] cancel_operation_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::GenomicsV2alpha1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::GenomicsV2alpha1::Empty]
#
# @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 cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2alpha1/{+name}:cancel', options)
command.request_representation = Google::Apis::GenomicsV2alpha1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::GenomicsV2alpha1::Empty::Representation
command.response_class = Google::Apis::GenomicsV2alpha1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
# @param [String] name
# The name of the operation resource.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::GenomicsV2alpha1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::GenomicsV2alpha1::Operation]
#
# @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_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2alpha1/{+name}', options)
command.response_representation = Google::Apis::GenomicsV2alpha1::Operation::Representation
command.response_class = Google::Apis::GenomicsV2alpha1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists operations that match the specified filter in the request.
# @param [String] name
# The name of the operation's parent resource.
# @param [String] filter
# A string for filtering Operations.
# The following filter fields are supported&#58;
# * projectId&#58; Required. Corresponds to
# OperationMetadata.projectId.
# * createTime&#58; The time this job was created, in seconds from the
# [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=`
# operators.
# * status&#58; Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only
# one status may be specified.
# * labels.key where key is a label key.
# Examples&#58;
# * `projectId = my-project AND createTime >= 1432140000`
# * `projectId = my-project AND createTime >= 1432140000 AND createTime <=
# 1432150000 AND status = RUNNING`
# * `projectId = my-project AND labels.color = *`
# * `projectId = my-project AND labels.color = red`
# @param [Fixnum] page_size
# The maximum number of results to return. If unspecified, defaults to
# 256. The maximum value is 2048.
# @param [String] page_token
# The standard list page token.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::GenomicsV2alpha1::ListOperationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::GenomicsV2alpha1::ListOperationsResponse]
#
# @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_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2alpha1/{+name}', options)
command.response_representation = Google::Apis::GenomicsV2alpha1::ListOperationsResponse::Representation
command.response_class = Google::Apis::GenomicsV2alpha1::ListOperationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.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?
execute_or_queue_command(command, &block)
end
# The worker uses this method to retrieve the assigned operation and
# provide periodic status updates.
# @param [String] id
# The worker id, assigned when it was created.
# @param [Google::Apis::GenomicsV2alpha1::CheckInRequest] check_in_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::GenomicsV2alpha1::CheckInResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::GenomicsV2alpha1::CheckInResponse]
#
# @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 check_worker_in(id, check_in_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2alpha1/workers/{id}:checkIn', options)
command.request_representation = Google::Apis::GenomicsV2alpha1::CheckInRequest::Representation
command.request_object = check_in_request_object
command.response_representation = Google::Apis::GenomicsV2alpha1::CheckInResponse::Representation
command.response_class = Google::Apis::GenomicsV2alpha1::CheckInResponse
command.params['id'] = id unless id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.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?
end
end
end
end
end

View File

@ -18,14 +18,14 @@ require 'google/apis/people_v1/representations.rb'
module Google
module Apis
# Google People API
# People API
#
# Provides access to information about profiles and contacts.
#
# @see https://developers.google.com/people/
module PeopleV1
VERSION = 'V1'
REVISION = '20180116'
REVISION = '20180217'
# Manage your contacts
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module PeopleV1
# Google People API
# People API
#
# Provides access to information about profiles and contacts.
#

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/slides/
module SlidesV1
VERSION = 'V1'
REVISION = '20180208'
REVISION = '20180216'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -2770,6 +2770,43 @@ module Google
end
end
# Replaces an existing image with a new image.
# Replacing an image removes some image effects from the existing image.
class ReplaceImageRequest
include Google::Apis::Core::Hashable
# The ID of the existing image that will be replaced.
# Corresponds to the JSON property `imageObjectId`
# @return [String]
attr_accessor :image_object_id
# The replacement method.
# Corresponds to the JSON property `imageReplaceMethod`
# @return [String]
attr_accessor :image_replace_method
# The URL of the new image.
# The image is fetched once at insertion time and a copy is stored for
# display inside the presentation. Images must be less than 50MB in size,
# cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
# format.
# The provided URL can be at most 2 kB in length.
# Corresponds to the JSON property `url`
# @return [String]
attr_accessor :url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@image_object_id = args[:image_object_id] if args.key?(:image_object_id)
@image_replace_method = args[:image_replace_method] if args.key?(:image_replace_method)
@url = args[:url] if args.key?(:url)
end
end
# A single kind of update to apply to a presentation.
class Request
include Google::Apis::Core::Hashable
@ -2916,6 +2953,12 @@ module Google
# @return [Google::Apis::SlidesV1::ReplaceAllTextRequest]
attr_accessor :replace_all_text
# Replaces an existing image with a new image.
# Replacing an image removes some image effects from the existing image.
# Corresponds to the JSON property `replaceImage`
# @return [Google::Apis::SlidesV1::ReplaceImageRequest]
attr_accessor :replace_image
# Ungroups objects, such as groups.
# Corresponds to the JSON property `ungroupObjects`
# @return [Google::Apis::SlidesV1::UngroupObjectsRequest]
@ -3031,6 +3074,7 @@ module Google
@replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image)
@replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
@replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
@replace_image = args[:replace_image] if args.key?(:replace_image)
@ungroup_objects = args[:ungroup_objects] if args.key?(:ungroup_objects)
@unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
@update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties)
@ -5028,6 +5072,28 @@ module Google
class VideoProperties
include Google::Apis::Core::Hashable
# Whether to enable video autoplay when the page is displayed in present
# mode. Defaults to false.
# Corresponds to the JSON property `autoPlay`
# @return [Boolean]
attr_accessor :auto_play
alias_method :auto_play?, :auto_play
# The time at which to end playback, measured in seconds from the beginning
# of the video.
# If set, the end time should be after the start time.
# If not set or if you set this to a value that exceeds the video duration,
# the video will be played until its end.
# Corresponds to the JSON property `end`
# @return [Fixnum]
attr_accessor :end
# Whether to mute the audio during video playback. Defaults to false.
# Corresponds to the JSON property `mute`
# @return [Boolean]
attr_accessor :mute
alias_method :mute?, :mute
# The outline of a PageElement.
# If these fields are unset, they may be inherited from a parent placeholder
# if it exists. If there is no parent, the fields will default to the value
@ -5037,13 +5103,27 @@ module Google
# @return [Google::Apis::SlidesV1::Outline]
attr_accessor :outline
# The time at which to start playback, measured in seconds from the beginning
# of the video.
# If set, the start time should be before the end time.
# If you set this to a value that exceeds the video's length in seconds, the
# video will be played from the last second.
# If not set, the video will be played from the beginning.
# Corresponds to the JSON property `start`
# @return [Fixnum]
attr_accessor :start
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@auto_play = args[:auto_play] if args.key?(:auto_play)
@end = args[:end] if args.key?(:end)
@mute = args[:mute] if args.key?(:mute)
@outline = args[:outline] if args.key?(:outline)
@start = args[:start] if args.key?(:start)
end
end

View File

@ -460,6 +460,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ReplaceImageRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Request
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1527,6 +1533,15 @@ module Google
end
end
class ReplaceImageRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_object_id, as: 'imageObjectId'
property :image_replace_method, as: 'imageReplaceMethod'
property :url, as: 'url'
end
end
class Request
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1576,6 +1591,8 @@ module Google
property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextRequest, decorator: Google::Apis::SlidesV1::ReplaceAllTextRequest::Representation
property :replace_image, as: 'replaceImage', class: Google::Apis::SlidesV1::ReplaceImageRequest, decorator: Google::Apis::SlidesV1::ReplaceImageRequest::Representation
property :ungroup_objects, as: 'ungroupObjects', class: Google::Apis::SlidesV1::UngroupObjectsRequest, decorator: Google::Apis::SlidesV1::UngroupObjectsRequest::Representation
property :unmerge_table_cells, as: 'unmergeTableCells', class: Google::Apis::SlidesV1::UnmergeTableCellsRequest, decorator: Google::Apis::SlidesV1::UnmergeTableCellsRequest::Representation
@ -2156,8 +2173,12 @@ module Google
class VideoProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_play, as: 'autoPlay'
property :end, as: 'end'
property :mute, as: 'mute'
property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation
property :start, as: 'start'
end
end