Autogenerated update (2020-07-31)

Update:
- accessapproval_v1
- clouderrorreporting_v1beta1
- compute_alpha
- compute_beta
- compute_v1
- content_v2
- content_v2_1
- dataproc_v1
- dataproc_v1beta2
- doubleclickbidmanager_v1
- doubleclickbidmanager_v1_1
- drive_v2
- drive_v3
- firebasehosting_v1beta1
- monitoring_v1
- monitoring_v3
- realtimebidding_v1
- run_v1
- servicemanagement_v1
This commit is contained in:
Google APIs 2020-07-31 00:37:55 +00:00
parent 482f64818b
commit 72edce10c1
58 changed files with 4258 additions and 1177 deletions

View File

@ -68,6 +68,7 @@
"/accessapproval:v1/DismissApprovalRequestMessage": dismiss_approval_request_message
"/accessapproval:v1/DismissDecision": dismiss_decision
"/accessapproval:v1/DismissDecision/dismissTime": dismiss_time
"/accessapproval:v1/DismissDecision/implicit": implicit
"/accessapproval:v1/Empty": empty
"/accessapproval:v1/EnrolledService": enrolled_service
"/accessapproval:v1/EnrolledService/cloudProduct": cloud_product
@ -20456,6 +20457,7 @@
"/clouderrorreporting:v1beta1/ErrorGroup": error_group
"/clouderrorreporting:v1beta1/ErrorGroup/groupId": group_id
"/clouderrorreporting:v1beta1/ErrorGroup/name": name
"/clouderrorreporting:v1beta1/ErrorGroup/resolutionStatus": resolution_status
"/clouderrorreporting:v1beta1/ErrorGroup/trackingIssues": tracking_issues
"/clouderrorreporting:v1beta1/ErrorGroup/trackingIssues/tracking_issue": tracking_issue
"/clouderrorreporting:v1beta1/ErrorGroupStats": error_group_stats
@ -26175,6 +26177,8 @@
"/compute:alpha/AddressesScopedList/warning/data/datum/key": key
"/compute:alpha/AddressesScopedList/warning/data/datum/value": value
"/compute:alpha/AddressesScopedList/warning/message": message
"/compute:alpha/AdvancedMachineFeatures": advanced_machine_features
"/compute:alpha/AdvancedMachineFeatures/enableNestedVirtualization": enable_nested_virtualization
"/compute:alpha/AliasIpRange": alias_ip_range
"/compute:alpha/AliasIpRange/ipCidrRange": ip_cidr_range
"/compute:alpha/AliasIpRange/subnetworkRangeName": subnetwork_range_name
@ -26316,6 +26320,7 @@
"/compute:alpha/AttachedDiskInitializeParams/labels/label": label
"/compute:alpha/AttachedDiskInitializeParams/multiWriter": multi_writer
"/compute:alpha/AttachedDiskInitializeParams/onUpdateAction": on_update_action
"/compute:alpha/AttachedDiskInitializeParams/provisionedIops": provisioned_iops
"/compute:alpha/AttachedDiskInitializeParams/replicaZones": replica_zones
"/compute:alpha/AttachedDiskInitializeParams/replicaZones/replica_zone": replica_zone
"/compute:alpha/AttachedDiskInitializeParams/resourcePolicies": resource_policies
@ -26356,6 +26361,8 @@
"/compute:alpha/Autoscaler/name": name
"/compute:alpha/Autoscaler/recommendedSize": recommended_size
"/compute:alpha/Autoscaler/region": region
"/compute:alpha/Autoscaler/scalingScheduleStatus": scaling_schedule_status
"/compute:alpha/Autoscaler/scalingScheduleStatus/scaling_schedule_status": scaling_schedule_status
"/compute:alpha/Autoscaler/selfLink": self_link
"/compute:alpha/Autoscaler/selfLinkWithId": self_link_with_id
"/compute:alpha/Autoscaler/status": status
@ -26418,6 +26425,8 @@
"/compute:alpha/AutoscalingPolicy/queueBasedScaling": queue_based_scaling
"/compute:alpha/AutoscalingPolicy/scaleDownControl": scale_down_control
"/compute:alpha/AutoscalingPolicy/scaleInControl": scale_in_control
"/compute:alpha/AutoscalingPolicy/scalingSchedules": scaling_schedules
"/compute:alpha/AutoscalingPolicy/scalingSchedules/scaling_schedule": scaling_schedule
"/compute:alpha/AutoscalingPolicyCpuUtilization": autoscaling_policy_cpu_utilization
"/compute:alpha/AutoscalingPolicyCpuUtilization/predictiveMethod": predictive_method
"/compute:alpha/AutoscalingPolicyCpuUtilization/utilizationTarget": utilization_target
@ -26442,6 +26451,13 @@
"/compute:alpha/AutoscalingPolicyScaleInControl": autoscaling_policy_scale_in_control
"/compute:alpha/AutoscalingPolicyScaleInControl/maxScaledInReplicas": max_scaled_in_replicas
"/compute:alpha/AutoscalingPolicyScaleInControl/timeWindowSec": time_window_sec
"/compute:alpha/AutoscalingPolicyScalingSchedule": autoscaling_policy_scaling_schedule
"/compute:alpha/AutoscalingPolicyScalingSchedule/description": description
"/compute:alpha/AutoscalingPolicyScalingSchedule/disabled": disabled
"/compute:alpha/AutoscalingPolicyScalingSchedule/durationSec": duration_sec
"/compute:alpha/AutoscalingPolicyScalingSchedule/minRequiredReplicas": min_required_replicas
"/compute:alpha/AutoscalingPolicyScalingSchedule/schedule": schedule
"/compute:alpha/AutoscalingPolicyScalingSchedule/timeZone": time_zone
"/compute:alpha/Backend": backend
"/compute:alpha/Backend/balancingMode": balancing_mode
"/compute:alpha/Backend/capacityScaler": capacity_scaler
@ -26467,6 +26483,7 @@
"/compute:alpha/BackendBucket/selfLink": self_link
"/compute:alpha/BackendBucket/selfLinkWithId": self_link_with_id
"/compute:alpha/BackendBucketCdnPolicy": backend_bucket_cdn_policy
"/compute:alpha/BackendBucketCdnPolicy/requestCoalescing": request_coalescing
"/compute:alpha/BackendBucketCdnPolicy/signedUrlCacheMaxAgeSec": signed_url_cache_max_age_sec
"/compute:alpha/BackendBucketCdnPolicy/signedUrlKeyNames": signed_url_key_names
"/compute:alpha/BackendBucketCdnPolicy/signedUrlKeyNames/signed_url_key_name": signed_url_key_name
@ -26545,6 +26562,7 @@
"/compute:alpha/BackendServiceAppEngineBackend/version": version
"/compute:alpha/BackendServiceCdnPolicy": backend_service_cdn_policy
"/compute:alpha/BackendServiceCdnPolicy/cacheKeyPolicy": cache_key_policy
"/compute:alpha/BackendServiceCdnPolicy/requestCoalescing": request_coalescing
"/compute:alpha/BackendServiceCdnPolicy/signedUrlCacheMaxAgeSec": signed_url_cache_max_age_sec
"/compute:alpha/BackendServiceCdnPolicy/signedUrlKeyNames": signed_url_key_names
"/compute:alpha/BackendServiceCdnPolicy/signedUrlKeyNames/signed_url_key_name": signed_url_key_name
@ -26647,6 +26665,7 @@
"/compute:alpha/BulkInsertInstanceResource": bulk_insert_instance_resource
"/compute:alpha/BulkInsertInstanceResource/count": count
"/compute:alpha/BulkInsertInstanceResource/instance": instance
"/compute:alpha/BulkInsertInstanceResource/instanceProperties": instance_properties
"/compute:alpha/BulkInsertInstanceResource/minCount": min_count
"/compute:alpha/BulkInsertInstanceResource/predefinedNames": predefined_names
"/compute:alpha/BulkInsertInstanceResource/predefinedNames/predefined_name": predefined_name
@ -26822,6 +26841,7 @@
"/compute:alpha/Disk/name": name
"/compute:alpha/Disk/options": options
"/compute:alpha/Disk/physicalBlockSizeBytes": physical_block_size_bytes
"/compute:alpha/Disk/provisionedIops": provisioned_iops
"/compute:alpha/Disk/region": region
"/compute:alpha/Disk/replicaZones": replica_zones
"/compute:alpha/Disk/replicaZones/replica_zone": replica_zone
@ -27748,6 +27768,7 @@
"/compute:alpha/InitialStateConfig/keks/kek": kek
"/compute:alpha/InitialStateConfig/pk": pk
"/compute:alpha/Instance": instance
"/compute:alpha/Instance/advancedMachineFeatures": advanced_machine_features
"/compute:alpha/Instance/allocationAffinity": allocation_affinity
"/compute:alpha/Instance/canIpForward": can_ip_forward
"/compute:alpha/Instance/confidentialInstanceConfig": confidential_instance_config
@ -28143,6 +28164,7 @@
"/compute:alpha/InstanceMoveRequest/destinationZone": destination_zone
"/compute:alpha/InstanceMoveRequest/targetInstance": target_instance
"/compute:alpha/InstanceProperties": instance_properties
"/compute:alpha/InstanceProperties/advancedMachineFeatures": advanced_machine_features
"/compute:alpha/InstanceProperties/allocationAffinity": allocation_affinity
"/compute:alpha/InstanceProperties/canIpForward": can_ip_forward
"/compute:alpha/InstanceProperties/confidentialInstanceConfig": confidential_instance_config
@ -29375,6 +29397,7 @@
"/compute:alpha/PacketMirroringFilter/IPProtocols/ip_protocol": ip_protocol
"/compute:alpha/PacketMirroringFilter/cidrRanges": cidr_ranges
"/compute:alpha/PacketMirroringFilter/cidrRanges/cidr_range": cidr_range
"/compute:alpha/PacketMirroringFilter/direction": direction
"/compute:alpha/PacketMirroringForwardingRuleInfo": packet_mirroring_forwarding_rule_info
"/compute:alpha/PacketMirroringForwardingRuleInfo/canonicalUrl": canonical_url
"/compute:alpha/PacketMirroringForwardingRuleInfo/url": url
@ -29994,6 +30017,7 @@
"/compute:alpha/ResourcePolicyGroupPlacementPolicy/availabilityDomainCount": availability_domain_count
"/compute:alpha/ResourcePolicyGroupPlacementPolicy/collocation": collocation
"/compute:alpha/ResourcePolicyGroupPlacementPolicy/locality": locality
"/compute:alpha/ResourcePolicyGroupPlacementPolicy/scope": scope
"/compute:alpha/ResourcePolicyGroupPlacementPolicy/style": style
"/compute:alpha/ResourcePolicyGroupPlacementPolicy/vmCount": vm_count
"/compute:alpha/ResourcePolicyHourlyCycle": resource_policy_hourly_cycle
@ -30270,10 +30294,20 @@
"/compute:alpha/RouterStatusNatStatus/minExtraNatIpsNeeded": min_extra_nat_ips_needed
"/compute:alpha/RouterStatusNatStatus/name": name
"/compute:alpha/RouterStatusNatStatus/numVmEndpointsWithNatMappings": num_vm_endpoints_with_nat_mappings
"/compute:alpha/RouterStatusNatStatus/ruleStatus": rule_status
"/compute:alpha/RouterStatusNatStatus/ruleStatus/rule_status": rule_status
"/compute:alpha/RouterStatusNatStatus/userAllocatedNatIpResources": user_allocated_nat_ip_resources
"/compute:alpha/RouterStatusNatStatus/userAllocatedNatIpResources/user_allocated_nat_ip_resource": user_allocated_nat_ip_resource
"/compute:alpha/RouterStatusNatStatus/userAllocatedNatIps": user_allocated_nat_ips
"/compute:alpha/RouterStatusNatStatus/userAllocatedNatIps/user_allocated_nat_ip": user_allocated_nat_ip
"/compute:alpha/RouterStatusNatStatusNatRuleStatus": router_status_nat_status_nat_rule_status
"/compute:alpha/RouterStatusNatStatusNatRuleStatus/activeNatIps": active_nat_ips
"/compute:alpha/RouterStatusNatStatusNatRuleStatus/activeNatIps/active_nat_ip": active_nat_ip
"/compute:alpha/RouterStatusNatStatusNatRuleStatus/drainNatIps": drain_nat_ips
"/compute:alpha/RouterStatusNatStatusNatRuleStatus/drainNatIps/drain_nat_ip": drain_nat_ip
"/compute:alpha/RouterStatusNatStatusNatRuleStatus/minExtraIpsNeeded": min_extra_ips_needed
"/compute:alpha/RouterStatusNatStatusNatRuleStatus/numVmEndpointsWithNatMappings": num_vm_endpoints_with_nat_mappings
"/compute:alpha/RouterStatusNatStatusNatRuleStatus/priority": priority
"/compute:alpha/RouterStatusResponse": router_status_response
"/compute:alpha/RouterStatusResponse/kind": kind
"/compute:alpha/RouterStatusResponse/result": result
@ -30330,6 +30364,10 @@
"/compute:alpha/SavedAttachedDisk/storageBytes": storage_bytes
"/compute:alpha/SavedAttachedDisk/storageBytesStatus": storage_bytes_status
"/compute:alpha/SavedAttachedDisk/type": type
"/compute:alpha/ScalingScheduleStatus": scaling_schedule_status
"/compute:alpha/ScalingScheduleStatus/lastStartTime": last_start_time
"/compute:alpha/ScalingScheduleStatus/nextStartTime": next_start_time
"/compute:alpha/ScalingScheduleStatus/state": state
"/compute:alpha/Scheduling": scheduling
"/compute:alpha/Scheduling/automaticRestart": automatic_restart
"/compute:alpha/Scheduling/latencyTolerant": latency_tolerant
@ -31391,8 +31429,18 @@
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/natIpPortRanges/nat_ip_port_range": nat_ip_port_range
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/numTotalDrainNatPorts": num_total_drain_nat_ports
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/numTotalNatPorts": num_total_nat_ports
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/ruleMappings": rule_mappings
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/ruleMappings/rule_mapping": rule_mapping
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/sourceAliasIpRange": source_alias_ip_range
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappings/sourceVirtualIp": source_virtual_ip
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings": vm_endpoint_nat_mappings_interface_nat_mappings_nat_rule_mappings
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings/drainNatIpPortRanges": drain_nat_ip_port_ranges
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings/drainNatIpPortRanges/drain_nat_ip_port_range": drain_nat_ip_port_range
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings/natIpPortRanges": nat_ip_port_ranges
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings/natIpPortRanges/nat_ip_port_range": nat_ip_port_range
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings/numTotalDrainNatPorts": num_total_drain_nat_ports
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings/numTotalNatPorts": num_total_nat_ports
"/compute:alpha/VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings/priority": priority
"/compute:alpha/VmEndpointNatMappingsList": vm_endpoint_nat_mappings_list
"/compute:alpha/VmEndpointNatMappingsList/id": id
"/compute:alpha/VmEndpointNatMappingsList/kind": kind
@ -36765,6 +36813,7 @@
"/compute:beta/InstanceGroupManagersAbandonInstancesRequest/instances": instances
"/compute:beta/InstanceGroupManagersAbandonInstancesRequest/instances/instance": instance
"/compute:beta/InstanceGroupManagersApplyUpdatesRequest": instance_group_managers_apply_updates_request
"/compute:beta/InstanceGroupManagersApplyUpdatesRequest/allInstances": all_instances
"/compute:beta/InstanceGroupManagersApplyUpdatesRequest/instances": instances
"/compute:beta/InstanceGroupManagersApplyUpdatesRequest/instances/instance": instance
"/compute:beta/InstanceGroupManagersApplyUpdatesRequest/minimalAction": minimal_action
@ -38154,6 +38203,7 @@
"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest/instances": instances
"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest/instances/instance": instance
"/compute:beta/RegionInstanceGroupManagersApplyUpdatesRequest": region_instance_group_managers_apply_updates_request
"/compute:beta/RegionInstanceGroupManagersApplyUpdatesRequest/allInstances": all_instances
"/compute:beta/RegionInstanceGroupManagersApplyUpdatesRequest/instances": instances
"/compute:beta/RegionInstanceGroupManagersApplyUpdatesRequest/instances/instance": instance
"/compute:beta/RegionInstanceGroupManagersApplyUpdatesRequest/minimalAction": minimal_action
@ -42990,6 +43040,7 @@
"/compute:v1/AutoscalingPolicy/maxNumReplicas": max_num_replicas
"/compute:v1/AutoscalingPolicy/minNumReplicas": min_num_replicas
"/compute:v1/AutoscalingPolicy/mode": mode
"/compute:v1/AutoscalingPolicy/scaleInControl": scale_in_control
"/compute:v1/AutoscalingPolicyCpuUtilization": autoscaling_policy_cpu_utilization
"/compute:v1/AutoscalingPolicyCpuUtilization/utilizationTarget": utilization_target
"/compute:v1/AutoscalingPolicyCustomMetricUtilization": autoscaling_policy_custom_metric_utilization
@ -42998,6 +43049,9 @@
"/compute:v1/AutoscalingPolicyCustomMetricUtilization/utilizationTargetType": utilization_target_type
"/compute:v1/AutoscalingPolicyLoadBalancingUtilization": autoscaling_policy_load_balancing_utilization
"/compute:v1/AutoscalingPolicyLoadBalancingUtilization/utilizationTarget": utilization_target
"/compute:v1/AutoscalingPolicyScaleInControl": autoscaling_policy_scale_in_control
"/compute:v1/AutoscalingPolicyScaleInControl/maxScaledInReplicas": max_scaled_in_replicas
"/compute:v1/AutoscalingPolicyScaleInControl/timeWindowSec": time_window_sec
"/compute:v1/Backend": backend
"/compute:v1/Backend/balancingMode": balancing_mode
"/compute:v1/Backend/capacityScaler": capacity_scaler
@ -43522,6 +43576,7 @@
"/compute:v1/FirewallList/warning/message": message
"/compute:v1/FirewallLogConfig": firewall_log_config
"/compute:v1/FirewallLogConfig/enable": enable
"/compute:v1/FirewallLogConfig/metadata": metadata
"/compute:v1/FixedOrPercent": fixed_or_percent
"/compute:v1/FixedOrPercent/calculated": calculated
"/compute:v1/FixedOrPercent/fixed": fixed
@ -47032,6 +47087,7 @@
"/compute:v1/compute.disks.get/project": project
"/compute:v1/compute.disks.get/zone": zone
"/compute:v1/compute.disks.getIamPolicy": get_disk_iam_policy
"/compute:v1/compute.disks.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.disks.getIamPolicy/project": project
"/compute:v1/compute.disks.getIamPolicy/resource": resource
"/compute:v1/compute.disks.getIamPolicy/zone": zone
@ -47340,6 +47396,7 @@
"/compute:v1/compute.images.getFromFamily/family": family
"/compute:v1/compute.images.getFromFamily/project": project
"/compute:v1/compute.images.getIamPolicy": get_image_iam_policy
"/compute:v1/compute.images.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.images.getIamPolicy/project": project
"/compute:v1/compute.images.getIamPolicy/resource": resource
"/compute:v1/compute.images.insert": insert_image
@ -47508,6 +47565,7 @@
"/compute:v1/compute.instanceTemplates.get/instanceTemplate": instance_template
"/compute:v1/compute.instanceTemplates.get/project": project
"/compute:v1/compute.instanceTemplates.getIamPolicy": get_instance_template_iam_policy
"/compute:v1/compute.instanceTemplates.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.instanceTemplates.getIamPolicy/project": project
"/compute:v1/compute.instanceTemplates.getIamPolicy/resource": resource
"/compute:v1/compute.instanceTemplates.insert": insert_instance_template
@ -47578,6 +47636,7 @@
"/compute:v1/compute.instances.getGuestAttributes/variableKey": variable_key
"/compute:v1/compute.instances.getGuestAttributes/zone": zone
"/compute:v1/compute.instances.getIamPolicy": get_instance_iam_policy
"/compute:v1/compute.instances.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.instances.getIamPolicy/project": project
"/compute:v1/compute.instances.getIamPolicy/resource": resource
"/compute:v1/compute.instances.getIamPolicy/zone": zone
@ -47814,6 +47873,7 @@
"/compute:v1/compute.licenses.get/license": license
"/compute:v1/compute.licenses.get/project": project
"/compute:v1/compute.licenses.getIamPolicy": get_license_iam_policy
"/compute:v1/compute.licenses.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.licenses.getIamPolicy/project": project
"/compute:v1/compute.licenses.getIamPolicy/resource": resource
"/compute:v1/compute.licenses.insert": insert_license
@ -47971,6 +48031,7 @@
"/compute:v1/compute.nodeGroups.get/project": project
"/compute:v1/compute.nodeGroups.get/zone": zone
"/compute:v1/compute.nodeGroups.getIamPolicy": get_node_group_iam_policy
"/compute:v1/compute.nodeGroups.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.nodeGroups.getIamPolicy/project": project
"/compute:v1/compute.nodeGroups.getIamPolicy/resource": resource
"/compute:v1/compute.nodeGroups.getIamPolicy/zone": zone
@ -48029,6 +48090,7 @@
"/compute:v1/compute.nodeTemplates.get/project": project
"/compute:v1/compute.nodeTemplates.get/region": region
"/compute:v1/compute.nodeTemplates.getIamPolicy": get_node_template_iam_policy
"/compute:v1/compute.nodeTemplates.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.nodeTemplates.getIamPolicy/project": project
"/compute:v1/compute.nodeTemplates.getIamPolicy/region": region
"/compute:v1/compute.nodeTemplates.getIamPolicy/resource": resource
@ -48267,6 +48329,7 @@
"/compute:v1/compute.regionDisks.get/project": project
"/compute:v1/compute.regionDisks.get/region": region
"/compute:v1/compute.regionDisks.getIamPolicy": get_region_disk_iam_policy
"/compute:v1/compute.regionDisks.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.regionDisks.getIamPolicy/project": project
"/compute:v1/compute.regionDisks.getIamPolicy/region": region
"/compute:v1/compute.regionDisks.getIamPolicy/resource": resource
@ -48640,6 +48703,7 @@
"/compute:v1/compute.reservations.get/reservation": reservation
"/compute:v1/compute.reservations.get/zone": zone
"/compute:v1/compute.reservations.getIamPolicy": get_reservation_iam_policy
"/compute:v1/compute.reservations.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.reservations.getIamPolicy/project": project
"/compute:v1/compute.reservations.getIamPolicy/resource": resource
"/compute:v1/compute.reservations.getIamPolicy/zone": zone
@ -48684,6 +48748,7 @@
"/compute:v1/compute.resourcePolicies.get/region": region
"/compute:v1/compute.resourcePolicies.get/resourcePolicy": resource_policy
"/compute:v1/compute.resourcePolicies.getIamPolicy": get_resource_policy_iam_policy
"/compute:v1/compute.resourcePolicies.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.resourcePolicies.getIamPolicy/project": project
"/compute:v1/compute.resourcePolicies.getIamPolicy/region": region
"/compute:v1/compute.resourcePolicies.getIamPolicy/resource": resource
@ -48824,6 +48889,7 @@
"/compute:v1/compute.snapshots.get/project": project
"/compute:v1/compute.snapshots.get/snapshot": snapshot
"/compute:v1/compute.snapshots.getIamPolicy": get_snapshot_iam_policy
"/compute:v1/compute.snapshots.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.snapshots.getIamPolicy/project": project
"/compute:v1/compute.snapshots.getIamPolicy/resource": resource
"/compute:v1/compute.snapshots.list": list_snapshots
@ -48912,6 +48978,7 @@
"/compute:v1/compute.subnetworks.get/region": region
"/compute:v1/compute.subnetworks.get/subnetwork": subnetwork
"/compute:v1/compute.subnetworks.getIamPolicy": get_subnetwork_iam_policy
"/compute:v1/compute.subnetworks.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
"/compute:v1/compute.subnetworks.getIamPolicy/project": project
"/compute:v1/compute.subnetworks.getIamPolicy/region": region
"/compute:v1/compute.subnetworks.getIamPolicy/resource": resource
@ -90088,6 +90155,14 @@
"/domainsrdap:v1/fields": fields
"/domainsrdap:v1/key": key
"/domainsrdap:v1/quotaUser": quota_user
"/doubleclickbidmanager:v1.1/ChannelGrouping": channel_grouping
"/doubleclickbidmanager:v1.1/ChannelGrouping/fallbackName": fallback_name
"/doubleclickbidmanager:v1.1/ChannelGrouping/name": name
"/doubleclickbidmanager:v1.1/ChannelGrouping/rules": rules
"/doubleclickbidmanager:v1.1/ChannelGrouping/rules/rule": rule
"/doubleclickbidmanager:v1.1/DisjunctiveMatchStatement": disjunctive_match_statement
"/doubleclickbidmanager:v1.1/DisjunctiveMatchStatement/eventFilters": event_filters
"/doubleclickbidmanager:v1.1/DisjunctiveMatchStatement/eventFilters/event_filter": event_filter
"/doubleclickbidmanager:v1.1/DownloadLineItemsRequest": download_line_items_request
"/doubleclickbidmanager:v1.1/DownloadLineItemsRequest/fileSpec": file_spec
"/doubleclickbidmanager:v1.1/DownloadLineItemsRequest/filterIds": filter_ids
@ -90110,6 +90185,8 @@
"/doubleclickbidmanager:v1.1/DownloadResponse/insertionOrders": insertion_orders
"/doubleclickbidmanager:v1.1/DownloadResponse/inventorySources": inventory_sources
"/doubleclickbidmanager:v1.1/DownloadResponse/lineItems": line_items
"/doubleclickbidmanager:v1.1/EventFilter": event_filter
"/doubleclickbidmanager:v1.1/EventFilter/dimensionFilter": dimension_filter
"/doubleclickbidmanager:v1.1/FilterPair": filter_pair
"/doubleclickbidmanager:v1.1/FilterPair/type": type
"/doubleclickbidmanager:v1.1/FilterPair/value": value
@ -90125,6 +90202,7 @@
"/doubleclickbidmanager:v1.1/ListReportsResponse/reports/report": report
"/doubleclickbidmanager:v1.1/Options": options
"/doubleclickbidmanager:v1.1/Options/includeOnlyTargetedUserLists": include_only_targeted_user_lists
"/doubleclickbidmanager:v1.1/Options/pathQueryOptions": path_query_options
"/doubleclickbidmanager:v1.1/Parameters": parameters
"/doubleclickbidmanager:v1.1/Parameters/filters": filters
"/doubleclickbidmanager:v1.1/Parameters/filters/filter": filter
@ -90135,6 +90213,19 @@
"/doubleclickbidmanager:v1.1/Parameters/metrics/metric": metric
"/doubleclickbidmanager:v1.1/Parameters/options": options
"/doubleclickbidmanager:v1.1/Parameters/type": type
"/doubleclickbidmanager:v1.1/PathFilter": path_filter
"/doubleclickbidmanager:v1.1/PathFilter/eventFilters": event_filters
"/doubleclickbidmanager:v1.1/PathFilter/eventFilters/event_filter": event_filter
"/doubleclickbidmanager:v1.1/PathFilter/pathMatchPosition": path_match_position
"/doubleclickbidmanager:v1.1/PathQueryOptions": path_query_options
"/doubleclickbidmanager:v1.1/PathQueryOptions/channelGrouping": channel_grouping
"/doubleclickbidmanager:v1.1/PathQueryOptions/pathFilters": path_filters
"/doubleclickbidmanager:v1.1/PathQueryOptions/pathFilters/path_filter": path_filter
"/doubleclickbidmanager:v1.1/PathQueryOptionsFilter": path_query_options_filter
"/doubleclickbidmanager:v1.1/PathQueryOptionsFilter/filter": filter
"/doubleclickbidmanager:v1.1/PathQueryOptionsFilter/match": match
"/doubleclickbidmanager:v1.1/PathQueryOptionsFilter/values": values
"/doubleclickbidmanager:v1.1/PathQueryOptionsFilter/values/value": value
"/doubleclickbidmanager:v1.1/Query": query
"/doubleclickbidmanager:v1.1/Query/kind": kind
"/doubleclickbidmanager:v1.1/Query/metadata": metadata
@ -90190,6 +90281,10 @@
"/doubleclickbidmanager:v1.1/RowStatus/errors/error": error
"/doubleclickbidmanager:v1.1/RowStatus/persisted": persisted
"/doubleclickbidmanager:v1.1/RowStatus/rowNumber": row_number
"/doubleclickbidmanager:v1.1/Rule": rule
"/doubleclickbidmanager:v1.1/Rule/disjunctiveMatchStatements": disjunctive_match_statements
"/doubleclickbidmanager:v1.1/Rule/disjunctiveMatchStatements/disjunctive_match_statement": disjunctive_match_statement
"/doubleclickbidmanager:v1.1/Rule/name": name
"/doubleclickbidmanager:v1.1/RunQueryRequest": run_query_request
"/doubleclickbidmanager:v1.1/RunQueryRequest/dataRange": data_range
"/doubleclickbidmanager:v1.1/RunQueryRequest/reportDataEndTimeMs": report_data_end_time_ms
@ -91789,6 +91884,7 @@
"/drive:v3/Revision/originalFilename": original_filename
"/drive:v3/Revision/publishAuto": publish_auto
"/drive:v3/Revision/published": published
"/drive:v3/Revision/publishedLink": published_link
"/drive:v3/Revision/publishedOutsideDomain": published_outside_domain
"/drive:v3/Revision/size": size
"/drive:v3/RevisionList": revision_list
@ -105970,6 +106066,164 @@
"/manufacturers:v1/manufacturers.accounts.products.uploadProduct/name": name
"/manufacturers:v1/manufacturers.accounts.products.uploadProduct/parent": parent
"/manufacturers:v1/quotaUser": quota_user
"/memcache:v1/AuditConfig": audit_config
"/memcache:v1/AuditConfig/auditLogConfigs": audit_log_configs
"/memcache:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
"/memcache:v1/AuditConfig/service": service
"/memcache:v1/AuditLogConfig": audit_log_config
"/memcache:v1/AuditLogConfig/exemptedMembers": exempted_members
"/memcache:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member
"/memcache:v1/AuditLogConfig/logType": log_type
"/memcache:v1/Binding": binding
"/memcache:v1/Binding/condition": condition
"/memcache:v1/Binding/members": members
"/memcache:v1/Binding/members/member": member
"/memcache:v1/Binding/role": role
"/memcache:v1/CancelOperationRequest": cancel_operation_request
"/memcache:v1/Empty": empty
"/memcache:v1/Expr": expr
"/memcache:v1/Expr/description": description
"/memcache:v1/Expr/expression": expression
"/memcache:v1/Expr/location": location
"/memcache:v1/Expr/title": title
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance": google_cloud_saasaccelerator_management_providers_v1_instance
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/consumerDefinedName": consumer_defined_name
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/createTime": create_time
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/labels": labels
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/labels/label": label
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames": maintenance_policy_names
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames/maintenance_policy_name": maintenance_policy_name
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules": maintenance_schedules
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules/maintenance_schedule": maintenance_schedule
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSettings": maintenance_settings
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/name": name
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata": producer_metadata
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata/producer_metadatum": producer_metadatum
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/provisionedResources": provisioned_resources
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/provisionedResources/provisioned_resource": provisioned_resource
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/slmInstanceTemplate": slm_instance_template
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/sloMetadata": slo_metadata
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/softwareVersions": software_versions
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/softwareVersions/software_version": software_version
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/state": state
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/tenantProjectId": tenant_project_id
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/updateTime": update_time
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": google_cloud_saasaccelerator_management_providers_v1_maintenance_schedule
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/canReschedule": can_reschedule
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/endTime": end_time
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/rolloutManagementPolicy": rollout_management_policy
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/startTime": start_time
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": google_cloud_saasaccelerator_management_providers_v1_maintenance_settings
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings/exclude": exclude
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions": exclusions
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions/exclusion": exclusion
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/location": location
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/nodeId": node_id
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": google_cloud_saasaccelerator_management_providers_v1_provisioned_resource
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource/resourceType": resource_type
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource/resourceUrl": resource_url
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility": google_cloud_saasaccelerator_management_providers_v1_slo_eligibility
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility/eligible": eligible
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility/reason": reason
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": google_cloud_saasaccelerator_management_providers_v1_slo_exclusion
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/duration": duration
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/reason": reason
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/sliName": sli_name
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/startTime": start_time
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": google_cloud_saasaccelerator_management_providers_v1_slo_metadata
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/eligibility": eligibility
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions": exclusions
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions/exclusion": exclusion
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/nodes": nodes
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/nodes/node": node
"/memcache:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/tier": tier
"/memcache:v1/ListLocationsResponse": list_locations_response
"/memcache:v1/ListLocationsResponse/locations": locations
"/memcache:v1/ListLocationsResponse/locations/location": location
"/memcache:v1/ListLocationsResponse/nextPageToken": next_page_token
"/memcache:v1/ListOperationsResponse": list_operations_response
"/memcache:v1/ListOperationsResponse/nextPageToken": next_page_token
"/memcache:v1/ListOperationsResponse/operations": operations
"/memcache:v1/ListOperationsResponse/operations/operation": operation
"/memcache:v1/Location": location
"/memcache:v1/Location/displayName": display_name
"/memcache:v1/Location/labels": labels
"/memcache:v1/Location/labels/label": label
"/memcache:v1/Location/locationId": location_id
"/memcache:v1/Location/metadata": metadata
"/memcache:v1/Location/metadata/metadatum": metadatum
"/memcache:v1/Location/name": name
"/memcache:v1/LocationMetadata": location_metadata
"/memcache:v1/LocationMetadata/availableZones": available_zones
"/memcache:v1/LocationMetadata/availableZones/available_zone": available_zone
"/memcache:v1/Operation": operation
"/memcache:v1/Operation/done": done
"/memcache:v1/Operation/error": error
"/memcache:v1/Operation/metadata": metadata
"/memcache:v1/Operation/metadata/metadatum": metadatum
"/memcache:v1/Operation/name": name
"/memcache:v1/Operation/response": response
"/memcache:v1/Operation/response/response": response
"/memcache:v1/OperationMetadata": operation_metadata
"/memcache:v1/OperationMetadata/apiVersion": api_version
"/memcache:v1/OperationMetadata/cancelRequested": cancel_requested
"/memcache:v1/OperationMetadata/createTime": create_time
"/memcache:v1/OperationMetadata/endTime": end_time
"/memcache:v1/OperationMetadata/statusDetail": status_detail
"/memcache:v1/OperationMetadata/target": target
"/memcache:v1/OperationMetadata/verb": verb
"/memcache:v1/Policy": policy
"/memcache:v1/Policy/auditConfigs": audit_configs
"/memcache:v1/Policy/auditConfigs/audit_config": audit_config
"/memcache:v1/Policy/bindings": bindings
"/memcache:v1/Policy/bindings/binding": binding
"/memcache:v1/Policy/etag": etag
"/memcache:v1/Policy/version": version
"/memcache:v1/SetIamPolicyRequest": set_iam_policy_request
"/memcache:v1/SetIamPolicyRequest/policy": policy
"/memcache:v1/SetIamPolicyRequest/updateMask": update_mask
"/memcache:v1/Status": status
"/memcache:v1/Status/code": code
"/memcache:v1/Status/details": details
"/memcache:v1/Status/details/detail": detail
"/memcache:v1/Status/details/detail/detail": detail
"/memcache:v1/Status/message": message
"/memcache:v1/TestIamPermissionsRequest": test_iam_permissions_request
"/memcache:v1/TestIamPermissionsRequest/permissions": permissions
"/memcache:v1/TestIamPermissionsRequest/permissions/permission": permission
"/memcache:v1/TestIamPermissionsResponse": test_iam_permissions_response
"/memcache:v1/TestIamPermissionsResponse/permissions": permissions
"/memcache:v1/TestIamPermissionsResponse/permissions/permission": permission
"/memcache:v1/ZoneMetadata": zone_metadata
"/memcache:v1/fields": fields
"/memcache:v1/key": key
"/memcache:v1/memcache.projects.locations.get": get_project_location
"/memcache:v1/memcache.projects.locations.get/name": name
"/memcache:v1/memcache.projects.locations.instances.getIamPolicy": get_project_location_instance_iam_policy
"/memcache:v1/memcache.projects.locations.instances.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version
"/memcache:v1/memcache.projects.locations.instances.getIamPolicy/resource": resource
"/memcache:v1/memcache.projects.locations.instances.setIamPolicy": set_instance_iam_policy
"/memcache:v1/memcache.projects.locations.instances.setIamPolicy/resource": resource
"/memcache:v1/memcache.projects.locations.instances.testIamPermissions": test_instance_iam_permissions
"/memcache:v1/memcache.projects.locations.instances.testIamPermissions/resource": resource
"/memcache:v1/memcache.projects.locations.list": list_project_locations
"/memcache:v1/memcache.projects.locations.list/filter": filter
"/memcache:v1/memcache.projects.locations.list/name": name
"/memcache:v1/memcache.projects.locations.list/pageSize": page_size
"/memcache:v1/memcache.projects.locations.list/pageToken": page_token
"/memcache:v1/memcache.projects.locations.operations.cancel": cancel_operation
"/memcache:v1/memcache.projects.locations.operations.cancel/name": name
"/memcache:v1/memcache.projects.locations.operations.delete": delete_project_location_operation
"/memcache:v1/memcache.projects.locations.operations.delete/name": name
"/memcache:v1/memcache.projects.locations.operations.get": get_project_location_operation
"/memcache:v1/memcache.projects.locations.operations.get/name": name
"/memcache:v1/memcache.projects.locations.operations.list": list_project_location_operations
"/memcache:v1/memcache.projects.locations.operations.list/filter": filter
"/memcache:v1/memcache.projects.locations.operations.list/name": name
"/memcache:v1/memcache.projects.locations.operations.list/pageSize": page_size
"/memcache:v1/memcache.projects.locations.operations.list/pageToken": page_token
"/memcache:v1/quotaUser": quota_user
"/memcache:v1beta2/ApplyParametersRequest": apply_parameters_request
"/memcache:v1beta2/ApplyParametersRequest/applyAll": apply_all
"/memcache:v1beta2/ApplyParametersRequest/nodeIds": node_ids
@ -107890,6 +108144,7 @@
"/monitoring:v3/TimeSeries/points": points
"/monitoring:v3/TimeSeries/points/point": point
"/monitoring:v3/TimeSeries/resource": resource
"/monitoring:v3/TimeSeries/unit": unit
"/monitoring:v3/TimeSeries/valueType": value_type
"/monitoring:v3/TimeSeriesData": time_series_data
"/monitoring:v3/TimeSeriesData/labelValues": label_values
@ -107947,6 +108202,7 @@
"/monitoring:v3/ValueDescriptor": value_descriptor
"/monitoring:v3/ValueDescriptor/key": key
"/monitoring:v3/ValueDescriptor/metricKind": metric_kind
"/monitoring:v3/ValueDescriptor/unit": unit
"/monitoring:v3/ValueDescriptor/valueType": value_type
"/monitoring:v3/VerifyNotificationChannelRequest": verify_notification_channel_request
"/monitoring:v3/VerifyNotificationChannelRequest/code": code
@ -117714,6 +117970,10 @@
"/run:v1/run.namespaces.services.list/watch": watch
"/run:v1/run.namespaces.services.replaceService": replace_namespace_service_service
"/run:v1/run.namespaces.services.replaceService/name": name
"/run:v1/run.projects.authorizeddomains.list": list_project_authorizeddomains
"/run:v1/run.projects.authorizeddomains.list/pageSize": page_size
"/run:v1/run.projects.authorizeddomains.list/pageToken": page_token
"/run:v1/run.projects.authorizeddomains.list/parent": parent
"/run:v1/run.projects.locations.authorizeddomains.list": list_project_location_authorizeddomains
"/run:v1/run.projects.locations.authorizeddomains.list/pageSize": page_size
"/run:v1/run.projects.locations.authorizeddomains.list/pageToken": page_token
@ -123617,6 +123877,9 @@
"/servicemanagement:v1/QuotaLimit/unit": unit
"/servicemanagement:v1/QuotaLimit/values": values
"/servicemanagement:v1/QuotaLimit/values/value": value
"/servicemanagement:v1/ResourceReference": resource_reference
"/servicemanagement:v1/ResourceReference/childType": child_type
"/servicemanagement:v1/ResourceReference/type": type
"/servicemanagement:v1/Rollout": rollout
"/servicemanagement:v1/Rollout/createTime": create_time
"/servicemanagement:v1/Rollout/createdBy": created_by

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-approval/docs
module AccessapprovalV1
VERSION = 'V1'
REVISION = '20200708'
REVISION = '20200726'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -300,6 +300,14 @@ module Google
# @return [String]
attr_accessor :dismiss_time
# This field will be true if the ApprovalRequest was implcitly dismissed due
# to inaction by the access approval approvers (the request is not acted
# on by the approvers before the exiration time).
# Corresponds to the JSON property `implicit`
# @return [Boolean]
attr_accessor :implicit
alias_method :implicit?, :implicit
def initialize(**args)
update!(**args)
end
@ -307,6 +315,7 @@ module Google
# Update properties of this object
def update!(**args)
@dismiss_time = args[:dismiss_time] if args.key?(:dismiss_time)
@implicit = args[:implicit] if args.key?(:implicit)
end
end

View File

@ -166,6 +166,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dismiss_time, as: 'dismissTime'
property :implicit, as: 'implicit'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/error-reporting/
module ClouderrorreportingV1beta1
VERSION = 'V1beta1'
REVISION = '20200610'
REVISION = '20200723'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -148,6 +148,12 @@ module Google
# @return [String]
attr_accessor :name
# Error group's resolution status.
# An unspecified resolution status will be interpreted as OPEN
# Corresponds to the JSON property `resolutionStatus`
# @return [String]
attr_accessor :resolution_status
# Associated tracking issues.
# Corresponds to the JSON property `trackingIssues`
# @return [Array<Google::Apis::ClouderrorreportingV1beta1::TrackingIssue>]
@ -161,6 +167,7 @@ module Google
def update!(**args)
@group_id = args[:group_id] if args.key?(:group_id)
@name = args[:name] if args.key?(:name)
@resolution_status = args[:resolution_status] if args.key?(:resolution_status)
@tracking_issues = args[:tracking_issues] if args.key?(:tracking_issues)
end
end

View File

@ -148,6 +148,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :group_id, as: 'groupId'
property :name, as: 'name'
property :resolution_status, as: 'resolutionStatus'
collection :tracking_issues, as: 'trackingIssues', class: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue, decorator: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue::Representation
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
REVISION = '20200612'
REVISION = '20200704'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1072,6 +1072,30 @@ module Google
end
end
# Specifies options for controlling advanced machine features. Options that
# would traditionally be configured in a BIOS belong here. Features that require
# operating system support may have corresponding entries in the GuestOsFeatures
# of an Image (e.g., whether or not the OS in the Image supports nested
# virtualization being enabled or disabled).
class AdvancedMachineFeatures
include Google::Apis::Core::Hashable
# Whether to enable nested virtualization or not (default is false).
# Corresponds to the JSON property `enableNestedVirtualization`
# @return [Boolean]
attr_accessor :enable_nested_virtualization
alias_method :enable_nested_virtualization?, :enable_nested_virtualization
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
end
end
# An alias IP range attached to an instance's network interface.
class AliasIpRange
include Google::Apis::Core::Hashable
@ -1453,6 +1477,11 @@ module Google
# @return [String]
attr_accessor :on_update_action
# Indicates how many IOPS must be provisioned for the disk.
# Corresponds to the JSON property `provisionedIops`
# @return [Fixnum]
attr_accessor :provisioned_iops
# URLs of the zones where the disk should be replicated to. Only applicable for
# regional resources.
# Corresponds to the JSON property `replicaZones`
@ -1522,6 +1551,7 @@ module Google
@labels = args[:labels] if args.key?(:labels)
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@source_image = args[:source_image] if args.key?(:source_image)
@ -1775,6 +1805,11 @@ module Google
# @return [String]
attr_accessor :region
# [Output Only] Status information of existing scaling schedules.
# Corresponds to the JSON property `scalingScheduleStatus`
# @return [Hash<String,Google::Apis::ComputeAlpha::ScalingScheduleStatus>]
attr_accessor :scaling_schedule_status
# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
@ -1829,6 +1864,7 @@ module Google
@name = args[:name] if args.key?(:name)
@recommended_size = args[:recommended_size] if args.key?(:recommended_size)
@region = args[:region] if args.key?(:region)
@scaling_schedule_status = args[:scaling_schedule_status] if args.key?(:scaling_schedule_status)
@self_link = args[:self_link] if args.key?(:self_link)
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@status = args[:status] if args.key?(:status)
@ -2298,6 +2334,14 @@ module Google
# @return [Google::Apis::ComputeAlpha::AutoscalingPolicyScaleInControl]
attr_accessor :scale_in_control
# Scaling schedules defined for an autoscaler. Multiple schedules can be set on
# an autoscaler and they can overlap. During overlapping periods the greatest
# min_required_replicas of all scaling schedules will be applied. Up to 128
# scaling schedules are allowed.
# Corresponds to the JSON property `scalingSchedules`
# @return [Hash<String,Google::Apis::ComputeAlpha::AutoscalingPolicyScalingSchedule>]
attr_accessor :scaling_schedules
def initialize(**args)
update!(**args)
end
@ -2313,6 +2357,7 @@ module Google
@mode = args[:mode] if args.key?(:mode)
@scale_down_control = args[:scale_down_control] if args.key?(:scale_down_control)
@scale_in_control = args[:scale_in_control] if args.key?(:scale_in_control)
@scaling_schedules = args[:scaling_schedules] if args.key?(:scaling_schedules)
end
end
@ -2518,6 +2563,71 @@ module Google
end
end
# Scaling based on user-defined schedule. The message describes a single scaling
# schedule. A scaling schedule changes the minimum number of VM instances an
# autoscaler can recommend, which can trigger scaling out.
class AutoscalingPolicyScalingSchedule
include Google::Apis::Core::Hashable
# A description of a scaling schedule.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# A boolean value that specifies if a scaling schedule can influence autoscaler
# recommendations. If set to true, then a scaling schedule has no effect. This
# field is optional and its value is false by default.
# Corresponds to the JSON property `disabled`
# @return [Boolean]
attr_accessor :disabled
alias_method :disabled?, :disabled
# The duration of time intervals (in seconds) for which this scaling schedule
# will be running. The minimum allowed value is 300. This field is required.
# Corresponds to the JSON property `durationSec`
# @return [Fixnum]
attr_accessor :duration_sec
# Minimum number of VM instances that autoscaler will recommend in time
# intervals starting according to schedule. This field is required.
# Corresponds to the JSON property `minRequiredReplicas`
# @return [Fixnum]
attr_accessor :min_required_replicas
# The start timestamps of time intervals when this scaling schedule should
# provide a scaling signal. This field uses the extended cron format (with an
# optional year field). The expression may describe a single timestamp if the
# optional year is set, in which case a scaling schedule will run once. schedule
# is interpreted with respect to time_zone. This field is required. NOTE: these
# timestamps only describe when autoscaler will start providing the scaling
# signal. The VMs will need additional time to become serving.
# Corresponds to the JSON property `schedule`
# @return [String]
attr_accessor :schedule
# The time zone to be used when interpreting the schedule. The value of this
# field must be a time zone name from the tz database: http://en.wikipedia.org/
# wiki/Tz_database. This field will be assigned a default value of ?UTC? if left
# empty.
# Corresponds to the JSON property `timeZone`
# @return [String]
attr_accessor :time_zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@disabled = args[:disabled] if args.key?(:disabled)
@duration_sec = args[:duration_sec] if args.key?(:duration_sec)
@min_required_replicas = args[:min_required_replicas] if args.key?(:min_required_replicas)
@schedule = args[:schedule] if args.key?(:schedule)
@time_zone = args[:time_zone] if args.key?(:time_zone)
end
end
# Message containing information of one individual backend.
class Backend
include Google::Apis::Core::Hashable
@ -2792,6 +2902,13 @@ module Google
class BackendBucketCdnPolicy
include Google::Apis::Core::Hashable
# If true then Cloud CDN will combine multiple concurrent cache fill requests
# into a small number of requests to the origin.
# Corresponds to the JSON property `requestCoalescing`
# @return [Boolean]
attr_accessor :request_coalescing
alias_method :request_coalescing?, :request_coalescing
# Maximum number of seconds the response to a signed URL request will be
# considered fresh. After this time period, the response will be revalidated
# before being served. Defaults to 1hr (3600s). When serving responses to signed
@ -2814,6 +2931,7 @@ module Google
# Update properties of this object
def update!(**args)
@request_coalescing = args[:request_coalescing] if args.key?(:request_coalescing)
@signed_url_cache_max_age_sec = args[:signed_url_cache_max_age_sec] if args.key?(:signed_url_cache_max_age_sec)
@signed_url_key_names = args[:signed_url_key_names] if args.key?(:signed_url_key_names)
end
@ -3376,6 +3494,13 @@ module Google
# @return [Google::Apis::ComputeAlpha::CacheKeyPolicy]
attr_accessor :cache_key_policy
# If true then Cloud CDN will combine multiple concurrent cache fill requests
# into a small number of requests to the origin.
# Corresponds to the JSON property `requestCoalescing`
# @return [Boolean]
attr_accessor :request_coalescing
alias_method :request_coalescing?, :request_coalescing
# Maximum number of seconds the response to a signed URL request will be
# considered fresh. After this time period, the response will be revalidated
# before being served. Defaults to 1hr (3600s). When serving responses to signed
@ -3399,6 +3524,7 @@ module Google
# Update properties of this object
def update!(**args)
@cache_key_policy = args[:cache_key_policy] if args.key?(:cache_key_policy)
@request_coalescing = args[:request_coalescing] if args.key?(:request_coalescing)
@signed_url_cache_max_age_sec = args[:signed_url_cache_max_age_sec] if args.key?(:signed_url_cache_max_age_sec)
@signed_url_key_names = args[:signed_url_key_names] if args.key?(:signed_url_key_names)
end
@ -4198,6 +4324,11 @@ module Google
# @return [Google::Apis::ComputeAlpha::Instance]
attr_accessor :instance
#
# Corresponds to the JSON property `instanceProperties`
# @return [Google::Apis::ComputeAlpha::InstanceProperties]
attr_accessor :instance_properties
# The minimum number of instances to create. If no min_count is specified then
# count is used as the default value. If min_count instances cannot be created,
# then no instances will be created.
@ -4210,13 +4341,17 @@ module Google
# @return [Array<String>]
attr_accessor :predefined_names
# Specifies the instance template from which to create the instance. This field
# is optional. This field is optional. It can be a full or partial URL. For
# example, the following are all valid URLs to an instance template:
# Specifies the instance template from which to create instances. You may
# combine sourceInstanceTemplate with instanceProperties to override specific
# values from an existing instance template. Bulk API follows the semantics of
# JSON Merge Patch described by RFC 7396.
# It can be a full or partial URL. For example, the following are all valid URLs
# to an instance template:
# - https://www.googleapis.com/compute/v1/projects/project/global/
# instanceTemplates/instanceTemplate
# - projects/project/global/instanceTemplates/instanceTemplate
# - global/instanceTemplates/instanceTemplate
# This field is optional.
# Corresponds to the JSON property `sourceInstanceTemplate`
# @return [String]
attr_accessor :source_instance_template
@ -4229,6 +4364,7 @@ module Google
def update!(**args)
@count = args[:count] if args.key?(:count)
@instance = args[:instance] if args.key?(:instance)
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
@min_count = args[:min_count] if args.key?(:min_count)
@predefined_names = args[:predefined_names] if args.key?(:predefined_names)
@source_instance_template = args[:source_instance_template] if args.key?(:source_instance_template)
@ -4597,7 +4733,8 @@ module Google
# The type of commitment, which affects the discount rate and the eligible
# resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply
# to memory optimized machines.
# to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a
# commitment that will only apply to accelerator optimized machines.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@ -5458,6 +5595,11 @@ module Google
# @return [Fixnum]
attr_accessor :physical_block_size_bytes
# Indicates how many IOPS must be provisioned for the disk.
# Corresponds to the JSON property `provisionedIops`
# @return [Fixnum]
attr_accessor :provisioned_iops
# [Output Only] URL of the region where the disk resides. Only applicable for
# regional resources. You must specify this field as part of the HTTP request
# URL. It is not settable as a field in the request body.
@ -5657,6 +5799,7 @@ module Google
@name = args[:name] if args.key?(:name)
@options = args[:options] if args.key?(:options)
@physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
@region = args[:region] if args.key?(:region)
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@ -7979,7 +8122,8 @@ module Google
class FirewallPolicyRuleMatcher
include Google::Apis::Core::Hashable
# CIDR IP address range.
# CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is
# 256.
# Corresponds to the JSON property `destIpRanges`
# @return [Array<String>]
attr_accessor :dest_ip_ranges
@ -7989,7 +8133,7 @@ module Google
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config>]
attr_accessor :layer4_configs
# CIDR IP address range.
# CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 256.
# Corresponds to the JSON property `srcIpRanges`
# @return [Array<String>]
attr_accessor :src_ip_ranges
@ -9350,9 +9494,10 @@ module Google
# Google Compute Engine has two Health Check resources:
# * [Global](/compute/docs/reference/rest/`$api_version`/healthChecks) * [
# Regional](/compute/docs/reference/rest/`$api_version`/regionHealthChecks)
# Internal HTTP(S) load balancers use regional health checks. All other types of
# GCP load balancers and managed instance group auto-healing use global health
# checks. For more information, read Health Check Concepts.
# Internal HTTP(S) load balancers must use regional health checks. Internal TCP/
# UDP load balancers can use either regional or global health checks. All other
# types of GCP load balancers and managed instance group auto-healing must use
# global health checks. For more information, read Health Check Concepts.
# To perform health checks on network load balancers, you must use either
# httpHealthChecks or httpsHealthChecks.
class HealthCheck
@ -12217,6 +12362,15 @@ module Google
class Instance
include Google::Apis::Core::Hashable
# Specifies options for controlling advanced machine features. Options that
# would traditionally be configured in a BIOS belong here. Features that require
# operating system support may have corresponding entries in the GuestOsFeatures
# of an Image (e.g., whether or not the OS in the Image supports nested
# virtualization being enabled or disabled).
# Corresponds to the JSON property `advancedMachineFeatures`
# @return [Google::Apis::ComputeAlpha::AdvancedMachineFeatures]
attr_accessor :advanced_machine_features
# Allows this instance to send and receive packets with non-matching destination
# or source IPs. This is required if you plan to use this instance to forward
# routes. For more information, see Enabling IP Forwarding.
@ -12513,6 +12667,7 @@ module Google
# Update properties of this object
def update!(**args)
@advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
@cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
@ -15165,6 +15320,15 @@ module Google
class InstanceProperties
include Google::Apis::Core::Hashable
# Specifies options for controlling advanced machine features. Options that
# would traditionally be configured in a BIOS belong here. Features that require
# operating system support may have corresponding entries in the GuestOsFeatures
# of an Image (e.g., whether or not the OS in the Image supports nested
# virtualization being enabled or disabled).
# Corresponds to the JSON property `advancedMachineFeatures`
# @return [Google::Apis::ComputeAlpha::AdvancedMachineFeatures]
attr_accessor :advanced_machine_features
# Enables instances created based on these properties to send packets with
# source IP addresses other than their own and receive packets with destination
# IP addresses other than their own. If these instances will be used as an IP
@ -15289,6 +15453,7 @@ module Google
# Update properties of this object
def update!(**args)
@advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
@description = args[:description] if args.key?(:description)
@ -19723,6 +19888,7 @@ module Google
# @return [String]
attr_accessor :i_pv4_range
# Must be set to create a VPC network. If not set, a legacy network is created.
# When set to true, the VPC network is created in auto mode. When set to false,
# the VPC network is created in custom mode.
# An auto mode VPC network starts with one subnet per region. Each subnet has a
@ -19893,7 +20059,8 @@ module Google
# reached, whether they are reachable, and where they are located. For more
# information about using NEGs, see Setting up internet NEGs or Setting up
# zonal NEGs. (== resource_for `$api_version`.networkEndpointGroups ==) (==
# resource_for `$api_version`.globalNetworkEndpointGroups ==)
# resource_for `$api_version`.globalNetworkEndpointGroups ==) (== resource_for `$
# api_version`.regionNetworkEndpointGroups ==)
class NetworkEndpointGroup
include Google::Apis::Core::Hashable
@ -24350,6 +24517,12 @@ module Google
# @return [Array<String>]
attr_accessor :cidr_ranges
# Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default
# is BOTH.
# Corresponds to the JSON property `direction`
# @return [String]
attr_accessor :direction
def initialize(**args)
update!(**args)
end
@ -24358,6 +24531,7 @@ module Google
def update!(**args)
@ip_protocols = args[:ip_protocols] if args.key?(:ip_protocols)
@cidr_ranges = args[:cidr_ranges] if args.key?(:cidr_ranges)
@direction = args[:direction] if args.key?(:direction)
end
end
@ -28864,6 +29038,11 @@ module Google
# @return [String]
attr_accessor :locality
# Scope specifies the availability domain to which the VMs should be spread.
# Corresponds to the JSON property `scope`
# @return [String]
attr_accessor :scope
# Specifies instances to hosts placement relationship
# Corresponds to the JSON property `style`
# @return [String]
@ -28883,6 +29062,7 @@ module Google
@availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count)
@collocation = args[:collocation] if args.key?(:collocation)
@locality = args[:locality] if args.key?(:locality)
@scope = args[:scope] if args.key?(:scope)
@style = args[:style] if args.key?(:style)
@vm_count = args[:vm_count] if args.key?(:vm_count)
end
@ -30843,6 +31023,11 @@ module Google
# @return [Fixnum]
attr_accessor :num_vm_endpoints_with_nat_mappings
# Status of rules in this NAT.
# Corresponds to the JSON property `ruleStatus`
# @return [Array<Google::Apis::ComputeAlpha::RouterStatusNatStatusNatRuleStatus>]
attr_accessor :rule_status
# A list of fully qualified URLs of reserved IP address resources.
# Corresponds to the JSON property `userAllocatedNatIpResources`
# @return [Array<String>]
@ -30866,11 +31051,58 @@ module Google
@min_extra_nat_ips_needed = args[:min_extra_nat_ips_needed] if args.key?(:min_extra_nat_ips_needed)
@name = args[:name] if args.key?(:name)
@num_vm_endpoints_with_nat_mappings = args[:num_vm_endpoints_with_nat_mappings] if args.key?(:num_vm_endpoints_with_nat_mappings)
@rule_status = args[:rule_status] if args.key?(:rule_status)
@user_allocated_nat_ip_resources = args[:user_allocated_nat_ip_resources] if args.key?(:user_allocated_nat_ip_resources)
@user_allocated_nat_ips = args[:user_allocated_nat_ips] if args.key?(:user_allocated_nat_ips)
end
end
# Status of a NAT Rule contained in this NAT.
class RouterStatusNatStatusNatRuleStatus
include Google::Apis::Core::Hashable
# A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
# Corresponds to the JSON property `activeNatIps`
# @return [Array<String>]
attr_accessor :active_nat_ips
# A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.
# 133"].
# Corresponds to the JSON property `drainNatIps`
# @return [Array<String>]
attr_accessor :drain_nat_ips
# The number of extra IPs to allocate. This will be greater than 0 only if the
# existing IPs in this NAT Rule are NOT enough to allow all configured VMs to
# use NAT.
# Corresponds to the JSON property `minExtraIpsNeeded`
# @return [Fixnum]
attr_accessor :min_extra_ips_needed
# Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
# Corresponds to the JSON property `numVmEndpointsWithNatMappings`
# @return [Fixnum]
attr_accessor :num_vm_endpoints_with_nat_mappings
# Priority of the rule.
# Corresponds to the JSON property `priority`
# @return [Fixnum]
attr_accessor :priority
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@active_nat_ips = args[:active_nat_ips] if args.key?(:active_nat_ips)
@drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
@min_extra_ips_needed = args[:min_extra_ips_needed] if args.key?(:min_extra_ips_needed)
@num_vm_endpoints_with_nat_mappings = args[:num_vm_endpoints_with_nat_mappings] if args.key?(:num_vm_endpoints_with_nat_mappings)
@priority = args[:priority] if args.key?(:priority)
end
end
#
class RouterStatusResponse
include Google::Apis::Core::Hashable
@ -31256,6 +31488,42 @@ module Google
end
end
#
class ScalingScheduleStatus
include Google::Apis::Core::Hashable
# [Output Only] The last time the scaling schedule became active. Note: this is
# a timestamp when a schedule actually became active, not when it was planned to
# do so. The timestamp is an RFC3339 string in RFC3339 text format.
# Corresponds to the JSON property `lastStartTime`
# @return [String]
attr_accessor :last_start_time
# [Output Only] The next time the scaling schedule will become active. Note:
# this is a timestamp when a schedule is planned to run, but the actual time
# might be slightly different. The timestamp is an RFC3339 string in RFC3339
# text format.
# Corresponds to the JSON property `nextStartTime`
# @return [String]
attr_accessor :next_start_time
# [Output Only] The current state of a scaling schedule.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@last_start_time = args[:last_start_time] if args.key?(:last_start_time)
@next_start_time = args[:next_start_time] if args.key?(:next_start_time)
@state = args[:state] if args.key?(:state)
end
end
# Sets the scheduling options for an Instance. NextID: 12
class Scheduling
include Google::Apis::Core::Hashable
@ -32209,8 +32477,9 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] The position of the next byte of content from the serial console
# output. Use this value in the next request as the start parameter.
# [Output Only] The position of the next byte of content, regardless of whether
# the content exists, following the output returned in the `contents` property.
# Use this value in the next request as the start parameter.
# Corresponds to the JSON property `next`
# @return [Fixnum]
attr_accessor :next
@ -32222,8 +32491,10 @@ module Google
# The starting byte position of the output that was returned. This should match
# the start parameter sent with the request. If the serial console output
# exceeds the size of the buffer, older output will be overwritten by newer
# content and the start values will be mismatched.
# exceeds the size of the buffer (1 MB), older output is overwritten by newer
# content. The output start value will indicate the byte position of the output
# that was returned, which might be different than the `start` value that was
# specified in the request.
# Corresponds to the JSON property `start`
# @return [Fixnum]
attr_accessor :start
@ -34315,10 +34586,11 @@ module Google
attr_accessor :id
# The range of internal addresses that are owned by this subnetwork. Provide
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
# IPv4 is supported. This field is set at resource creation time. The range can
# be expanded after creation using expandIpCidrRange.
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.
# 64.0.0/10. Ranges must be unique and non-overlapping within a network. Only
# IPv4 is supported. This field is set at resource creation time. This may be a
# RFC 1918 IP range, or a privately routed, non-RFC 1918 IP range, not belonging
# to Google. The range can be expanded after creation using expandIpCidrRange.
# Corresponds to the JSON property `ipCidrRange`
# @return [String]
attr_accessor :ip_cidr_range
@ -34342,7 +34614,8 @@ module Google
# Can only be specified if VPC flow logging for this subnetwork is enabled.
# Configures whether metadata fields should be added to the reported VPC flow
# logs. Default is INCLUDE_ALL_METADATA.
# logs. Options are INCLUDE_ALL_METADATA, EXCLUDE_ALL_METADATA, and
# CUSTOM_METADATA. Default is INCLUDE_ALL_METADATA.
# Corresponds to the JSON property `metadata`
# @return [String]
attr_accessor :metadata
@ -34793,7 +35066,8 @@ module Google
# The range of IP addresses belonging to this subnetwork secondary range.
# Provide this property when you create the subnetwork. Ranges must be unique
# and non-overlapping with all primary and secondary IP ranges within a network.
# Only IPv4 is supported.
# Only IPv4 is supported. This may be a RFC 1918 IP range, or a privately, non-
# RFC 1918 IP range, not belonging to Google.
# Corresponds to the JSON property `ipCidrRange`
# @return [String]
attr_accessor :ip_cidr_range
@ -39496,6 +39770,11 @@ module Google
# @return [Fixnum]
attr_accessor :num_total_nat_ports
# Information about mappings provided by rules in this NAT.
# Corresponds to the JSON property `ruleMappings`
# @return [Array<Google::Apis::ComputeAlpha::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>]
attr_accessor :rule_mappings
# Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP
# range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
# Corresponds to the JSON property `sourceAliasIpRange`
@ -39517,11 +39796,62 @@ module Google
@nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
@num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
@num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
@rule_mappings = args[:rule_mappings] if args.key?(:rule_mappings)
@source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range)
@source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip)
end
end
# Contains information of NAT Mappings provided by a NAT Rule.
class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
include Google::Apis::Core::Hashable
# List of all drain IP:port-range mappings assigned to this interface by this
# rule. These ranges are inclusive, that is, both the first and the last ports
# can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
# Corresponds to the JSON property `drainNatIpPortRanges`
# @return [Array<String>]
attr_accessor :drain_nat_ip_port_ranges
# A list of all IP:port-range mappings assigned to this interface by this rule.
# These ranges are inclusive, that is, both the first and the last ports can be
# used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
# Corresponds to the JSON property `natIpPortRanges`
# @return [Array<String>]
attr_accessor :nat_ip_port_ranges
# Total number of drain ports across all NAT IPs allocated to this interface by
# this rule. It equals the aggregated port number in the field
# drain_nat_ip_port_ranges.
# Corresponds to the JSON property `numTotalDrainNatPorts`
# @return [Fixnum]
attr_accessor :num_total_drain_nat_ports
# Total number of ports across all NAT IPs allocated to this interface by this
# rule. It equals the aggregated port number in the field nat_ip_port_ranges.
# Corresponds to the JSON property `numTotalNatPorts`
# @return [Fixnum]
attr_accessor :num_total_nat_ports
# Priority of the NAT Rule.
# Corresponds to the JSON property `priority`
# @return [Fixnum]
attr_accessor :priority
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@drain_nat_ip_port_ranges = args[:drain_nat_ip_port_ranges] if args.key?(:drain_nat_ip_port_ranges)
@nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
@num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
@num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
@priority = args[:priority] if args.key?(:priority)
end
end
# Contains a list of VmEndpointNatMappings.
class VmEndpointNatMappingsList
include Google::Apis::Core::Hashable

View File

@ -154,6 +154,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AdvancedMachineFeatures
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AliasIpRange
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -322,6 +328,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AutoscalingPolicyScalingSchedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Backend
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4024,6 +4036,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RouterStatusNatStatusNatRuleStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RouterStatusResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4072,6 +4090,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ScalingScheduleStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Scheduling
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5236,6 +5260,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VmEndpointNatMappingsList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5740,6 +5770,13 @@ module Google
end
end
class AdvancedMachineFeatures
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
end
end
class AliasIpRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -5820,6 +5857,7 @@ module Google
hash :labels, as: 'labels'
property :multi_writer, as: 'multiWriter'
property :on_update_action, as: 'onUpdateAction'
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
collection :replica_zones, as: 'replicaZones'
collection :resource_policies, as: 'resourcePolicies'
property :source_image, as: 'sourceImage'
@ -5890,6 +5928,8 @@ module Google
property :name, as: 'name'
property :recommended_size, as: 'recommendedSize'
property :region, as: 'region'
hash :scaling_schedule_status, as: 'scalingScheduleStatus', class: Google::Apis::ComputeAlpha::ScalingScheduleStatus, decorator: Google::Apis::ComputeAlpha::ScalingScheduleStatus::Representation
property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId'
property :status, as: 'status'
@ -6018,6 +6058,8 @@ module Google
property :scale_in_control, as: 'scaleInControl', class: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleInControl, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleInControl::Representation
hash :scaling_schedules, as: 'scalingSchedules', class: Google::Apis::ComputeAlpha::AutoscalingPolicyScalingSchedule, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyScalingSchedule::Representation
end
end
@ -6065,6 +6107,18 @@ module Google
end
end
class AutoscalingPolicyScalingSchedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :disabled, as: 'disabled'
property :duration_sec, as: 'durationSec'
property :min_required_replicas, as: 'minRequiredReplicas'
property :schedule, as: 'schedule'
property :time_zone, as: 'timeZone'
end
end
class Backend
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -6103,6 +6157,7 @@ module Google
class BackendBucketCdnPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :request_coalescing, as: 'requestCoalescing'
property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec'
collection :signed_url_key_names, as: 'signedUrlKeyNames'
end
@ -6226,6 +6281,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :cache_key_policy, as: 'cacheKeyPolicy', class: Google::Apis::ComputeAlpha::CacheKeyPolicy, decorator: Google::Apis::ComputeAlpha::CacheKeyPolicy::Representation
property :request_coalescing, as: 'requestCoalescing'
property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec'
collection :signed_url_key_names, as: 'signedUrlKeyNames'
end
@ -6420,6 +6476,8 @@ module Google
property :count, :numeric_string => true, as: 'count'
property :instance, as: 'instance', class: Google::Apis::ComputeAlpha::Instance, decorator: Google::Apis::ComputeAlpha::Instance::Representation
property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeAlpha::InstanceProperties, decorator: Google::Apis::ComputeAlpha::InstanceProperties::Representation
property :min_count, :numeric_string => true, as: 'minCount'
collection :predefined_names, as: 'predefinedNames'
property :source_instance_template, as: 'sourceInstanceTemplate'
@ -6720,6 +6778,7 @@ module Google
property :name, as: 'name'
property :options, as: 'options'
property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
property :region, as: 'region'
collection :replica_zones, as: 'replicaZones'
collection :resource_policies, as: 'resourcePolicies'
@ -8266,6 +8325,8 @@ module Google
class Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::ComputeAlpha::AdvancedMachineFeatures, decorator: Google::Apis::ComputeAlpha::AdvancedMachineFeatures::Representation
property :can_ip_forward, as: 'canIpForward'
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::ComputeAlpha::ConfidentialInstanceConfig, decorator: Google::Apis::ComputeAlpha::ConfidentialInstanceConfig::Representation
@ -9019,6 +9080,8 @@ module Google
class InstanceProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::ComputeAlpha::AdvancedMachineFeatures, decorator: Google::Apis::ComputeAlpha::AdvancedMachineFeatures::Representation
property :can_ip_forward, as: 'canIpForward'
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::ComputeAlpha::ConfidentialInstanceConfig, decorator: Google::Apis::ComputeAlpha::ConfidentialInstanceConfig::Representation
@ -11328,6 +11391,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :ip_protocols, as: 'IPProtocols'
collection :cidr_ranges, as: 'cidrRanges'
property :direction, as: 'direction'
end
end
@ -12527,6 +12591,7 @@ module Google
property :availability_domain_count, as: 'availabilityDomainCount'
property :collocation, as: 'collocation'
property :locality, as: 'locality'
property :scope, as: 'scope'
property :style, as: 'style'
property :vm_count, as: 'vmCount'
end
@ -13009,11 +13074,24 @@ module Google
property :min_extra_nat_ips_needed, as: 'minExtraNatIpsNeeded'
property :name, as: 'name'
property :num_vm_endpoints_with_nat_mappings, as: 'numVmEndpointsWithNatMappings'
collection :rule_status, as: 'ruleStatus', class: Google::Apis::ComputeAlpha::RouterStatusNatStatusNatRuleStatus, decorator: Google::Apis::ComputeAlpha::RouterStatusNatStatusNatRuleStatus::Representation
collection :user_allocated_nat_ip_resources, as: 'userAllocatedNatIpResources'
collection :user_allocated_nat_ips, as: 'userAllocatedNatIps'
end
end
class RouterStatusNatStatusNatRuleStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :active_nat_ips, as: 'activeNatIps'
collection :drain_nat_ips, as: 'drainNatIps'
property :min_extra_ips_needed, as: 'minExtraIpsNeeded'
property :num_vm_endpoints_with_nat_mappings, as: 'numVmEndpointsWithNatMappings'
property :priority, as: 'priority'
end
end
class RouterStatusResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -13110,6 +13188,15 @@ module Google
end
end
class ScalingScheduleStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :last_start_time, as: 'lastStartTime'
property :next_start_time, as: 'nextStartTime'
property :state, as: 'state'
end
end
class Scheduling
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -15183,11 +15270,24 @@ module Google
collection :nat_ip_port_ranges, as: 'natIpPortRanges'
property :num_total_drain_nat_ports, as: 'numTotalDrainNatPorts'
property :num_total_nat_ports, as: 'numTotalNatPorts'
collection :rule_mappings, as: 'ruleMappings', class: Google::Apis::ComputeAlpha::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings, decorator: Google::Apis::ComputeAlpha::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings::Representation
property :source_alias_ip_range, as: 'sourceAliasIpRange'
property :source_virtual_ip, as: 'sourceVirtualIp'
end
end
class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :drain_nat_ip_port_ranges, as: 'drainNatIpPortRanges'
collection :nat_ip_port_ranges, as: 'natIpPortRanges'
property :num_total_drain_nat_ports, as: 'numTotalDrainNatPorts'
property :num_total_nat_ports, as: 'numTotalNatPorts'
property :priority, as: 'priority'
end
end
class VmEndpointNatMappingsList
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -10441,8 +10441,8 @@ module Google
# The instance name for this request.
# @param [Google::Apis::ComputeAlpha::AttachedDisk] attached_disk_object
# @param [Boolean] force_attach
# Whether to force attach the disk even if it's currently attached to another
# instance.
# Whether to force attach the regional disk even if it's currently attached to
# another instance.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
@ -10920,14 +10920,22 @@ module Google
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# Name of the instance scoping this request.
# Name of the instance for this request.
# @param [Fixnum] port
# Specifies which COM or serial port to retrieve data from.
# @param [Fixnum] start
# Returns output starting from a specific byte position. Use this to page
# through output when the output is too large to return in a single request. For
# the initial request, leave this field unspecified. For subsequent calls, this
# field should be set to the next value returned in the previous call.
# Specifies the starting byte position of the output to return. To start with
# the first byte of output to the specified port, omit this field or set it to `
# 0`.
# If the output for that byte position is available, this field matches the `
# start` parameter sent with the request. If the amount of serial console output
# exceeds the size of the buffer (1 MB), the oldest output is discarded and is
# no longer available. If the requested start position refers to discarded
# output, the start position is adjusted to the oldest output still available,
# and the adjusted start position is returned as the `start` property value.
# You can also provide a negative start position, which translates to the most
# recent number of bytes written to the serial port. For example, -3 is
# interpreted as the most recent 3 bytes written to the serial console.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
REVISION = '20200629'
REVISION = '20200704'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4155,7 +4155,8 @@ module Google
# The type of commitment, which affects the discount rate and the eligible
# resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply
# to memory optimized machines.
# to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a
# commitment that will only apply to accelerator optimized machines.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@ -8339,9 +8340,10 @@ module Google
# Google Compute Engine has two Health Check resources:
# * [Global](/compute/docs/reference/rest/`$api_version`/healthChecks) * [
# Regional](/compute/docs/reference/rest/`$api_version`/regionHealthChecks)
# Internal HTTP(S) load balancers use regional health checks. All other types of
# GCP load balancers and managed instance group auto-healing use global health
# checks. For more information, read Health Check Concepts.
# Internal HTTP(S) load balancers must use regional health checks. Internal TCP/
# UDP load balancers can use either regional or global health checks. All other
# types of GCP load balancers and managed instance group auto-healing must use
# global health checks. For more information, read Health Check Concepts.
# To perform health checks on network load balancers, you must use either
# httpHealthChecks or httpsHealthChecks.
class HealthCheck
@ -12492,6 +12494,13 @@ module Google
class InstanceGroupManagersApplyUpdatesRequest
include Google::Apis::Core::Hashable
# Flag to update all instances instead of specified list of ?instances?. If the
# flag is set to true then the instances may not be specified in the request.
# Corresponds to the JSON property `allInstances`
# @return [Boolean]
attr_accessor :all_instances
alias_method :all_instances?, :all_instances
# The list of URLs of one or more instances for which you want to apply updates.
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
# INSTANCE_NAME].
@ -12529,6 +12538,7 @@ module Google
# Update properties of this object
def update!(**args)
@all_instances = args[:all_instances] if args.key?(:all_instances)
@instances = args[:instances] if args.key?(:instances)
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
@ -17614,6 +17624,7 @@ module Google
# @return [String]
attr_accessor :i_pv4_range
# Must be set to create a VPC network. If not set, a legacy network is created.
# When set to true, the VPC network is created in auto mode. When set to false,
# the VPC network is created in custom mode.
# An auto mode VPC network starts with one subnet per region. Each subnet has a
@ -17765,7 +17776,8 @@ module Google
# reached, whether they are reachable, and where they are located. For more
# information about using NEGs, see Setting up internet NEGs or Setting up
# zonal NEGs. (== resource_for `$api_version`.networkEndpointGroups ==) (==
# resource_for `$api_version`.globalNetworkEndpointGroups ==)
# resource_for `$api_version`.globalNetworkEndpointGroups ==) (== resource_for `$
# api_version`.regionNetworkEndpointGroups ==)
class NetworkEndpointGroup
include Google::Apis::Core::Hashable
@ -23784,6 +23796,13 @@ module Google
class RegionInstanceGroupManagersApplyUpdatesRequest
include Google::Apis::Core::Hashable
# Flag to update all instances instead of specified list of ?instances?. If the
# flag is set to true then the instances may not be specified in the request.
# Corresponds to the JSON property `allInstances`
# @return [Boolean]
attr_accessor :all_instances
alias_method :all_instances?, :all_instances
# The list of URLs of one or more instances for which you want to apply updates.
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
# INSTANCE_NAME].
@ -23821,6 +23840,7 @@ module Google
# Update properties of this object
def update!(**args)
@all_instances = args[:all_instances] if args.key?(:all_instances)
@instances = args[:instances] if args.key?(:instances)
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
@ -28319,8 +28339,9 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] The position of the next byte of content from the serial console
# output. Use this value in the next request as the start parameter.
# [Output Only] The position of the next byte of content, regardless of whether
# the content exists, following the output returned in the `contents` property.
# Use this value in the next request as the start parameter.
# Corresponds to the JSON property `next`
# @return [Fixnum]
attr_accessor :next
@ -28332,8 +28353,10 @@ module Google
# The starting byte position of the output that was returned. This should match
# the start parameter sent with the request. If the serial console output
# exceeds the size of the buffer, older output will be overwritten by newer
# content and the start values will be mismatched.
# exceeds the size of the buffer (1 MB), older output is overwritten by newer
# content. The output start value will indicate the byte position of the output
# that was returned, which might be different than the `start` value that was
# specified in the request.
# Corresponds to the JSON property `start`
# @return [Fixnum]
attr_accessor :start
@ -30082,10 +30105,11 @@ module Google
attr_accessor :id
# The range of internal addresses that are owned by this subnetwork. Provide
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
# IPv4 is supported. This field is set at resource creation time. The range can
# be expanded after creation using expandIpCidrRange.
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.
# 64.0.0/10. Ranges must be unique and non-overlapping within a network. Only
# IPv4 is supported. This field is set at resource creation time. This may be a
# RFC 1918 IP range, or a privately routed, non-RFC 1918 IP range, not belonging
# to Google. The range can be expanded after creation using expandIpCidrRange.
# Corresponds to the JSON property `ipCidrRange`
# @return [String]
attr_accessor :ip_cidr_range
@ -30537,7 +30561,8 @@ module Google
# The range of IP addresses belonging to this subnetwork secondary range.
# Provide this property when you create the subnetwork. Ranges must be unique
# and non-overlapping with all primary and secondary IP ranges within a network.
# Only IPv4 is supported.
# Only IPv4 is supported. This may be a RFC 1918 IP range, or a privately, non-
# RFC 1918 IP range, not belonging to Google.
# Corresponds to the JSON property `ipCidrRange`
# @return [String]
attr_accessor :ip_cidr_range

View File

@ -7827,6 +7827,7 @@ module Google
class InstanceGroupManagersApplyUpdatesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :all_instances, as: 'allInstances'
collection :instances, as: 'instances'
property :minimal_action, as: 'minimalAction'
property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction'
@ -10760,6 +10761,7 @@ module Google
class RegionInstanceGroupManagersApplyUpdatesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :all_instances, as: 'allInstances'
collection :instances, as: 'instances'
property :minimal_action, as: 'minimalAction'
property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction'

View File

@ -9868,8 +9868,8 @@ module Google
# The instance name for this request.
# @param [Google::Apis::ComputeBeta::AttachedDisk] attached_disk_object
# @param [Boolean] force_attach
# Whether to force attach the disk even if it's currently attached to another
# instance.
# Whether to force attach the regional disk even if it's currently attached to
# another instance.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
@ -10296,14 +10296,22 @@ module Google
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# Name of the instance scoping this request.
# Name of the instance for this request.
# @param [Fixnum] port
# Specifies which COM or serial port to retrieve data from.
# @param [Fixnum] start
# Returns output starting from a specific byte position. Use this to page
# through output when the output is too large to return in a single request. For
# the initial request, leave this field unspecified. For subsequent calls, this
# field should be set to the next value returned in the previous call.
# Specifies the starting byte position of the output to return. To start with
# the first byte of output to the specified port, omit this field or set it to `
# 0`.
# If the output for that byte position is available, this field matches the `
# start` parameter sent with the request. If the amount of serial console output
# exceeds the size of the buffer (1 MB), the oldest output is discarded and is
# no longer available. If the requested start position refers to discarded
# output, the start position is adjusted to the oldest output still available,
# and the adjusted start position is returned as the `start` property value.
# You can also provide a negative start position, which translates to the most
# recent number of bytes written to the serial port. For example, -3 is
# interpreted as the most recent 3 bytes written to the serial console.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20200629'
REVISION = '20200704'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2079,6 +2079,13 @@ module Google
# @return [String]
attr_accessor :mode
# Configuration that allows for slower scale in so that even if Autoscaler
# recommends an abrupt scale in of a MIG, it will be throttled as specified by
# the parameters below.
# Corresponds to the JSON property `scaleInControl`
# @return [Google::Apis::ComputeV1::AutoscalingPolicyScaleInControl]
attr_accessor :scale_in_control
def initialize(**args)
update!(**args)
end
@ -2092,6 +2099,7 @@ module Google
@max_num_replicas = args[:max_num_replicas] if args.key?(:max_num_replicas)
@min_num_replicas = args[:min_num_replicas] if args.key?(:min_num_replicas)
@mode = args[:mode] if args.key?(:mode)
@scale_in_control = args[:scale_in_control] if args.key?(:scale_in_control)
end
end
@ -2182,6 +2190,34 @@ module Google
end
end
# Configuration that allows for slower scale in so that even if Autoscaler
# recommends an abrupt scale in of a MIG, it will be throttled as specified by
# the parameters below.
class AutoscalingPolicyScaleInControl
include Google::Apis::Core::Hashable
# Encapsulates numeric value that can be either absolute or relative.
# Corresponds to the JSON property `maxScaledInReplicas`
# @return [Google::Apis::ComputeV1::FixedOrPercent]
attr_accessor :max_scaled_in_replicas
# How long back autoscaling should look when computing recommendations to
# include directives regarding slower scale in, as described above.
# Corresponds to the JSON property `timeWindowSec`
# @return [Fixnum]
attr_accessor :time_window_sec
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@max_scaled_in_replicas = args[:max_scaled_in_replicas] if args.key?(:max_scaled_in_replicas)
@time_window_sec = args[:time_window_sec] if args.key?(:time_window_sec)
end
end
# Message containing information of one individual backend.
class Backend
include Google::Apis::Core::Hashable
@ -6572,6 +6608,13 @@ module Google
attr_accessor :enable
alias_method :enable?, :enable
# This field can only be specified for a particular firewall rule if logging is
# enabled for that rule. This field denotes whether to include or exclude
# metadata for firewall logs.
# Corresponds to the JSON property `metadata`
# @return [String]
attr_accessor :metadata
def initialize(**args)
update!(**args)
end
@ -6579,6 +6622,7 @@ module Google
# Update properties of this object
def update!(**args)
@enable = args[:enable] if args.key?(:enable)
@metadata = args[:metadata] if args.key?(:metadata)
end
end
@ -7808,9 +7852,10 @@ module Google
# Google Compute Engine has two Health Check resources:
# * [Global](/compute/docs/reference/rest/`$api_version`/healthChecks) * [
# Regional](/compute/docs/reference/rest/`$api_version`/regionHealthChecks)
# Internal HTTP(S) load balancers use regional health checks. All other types of
# GCP load balancers and managed instance group auto-healing use global health
# checks. For more information, read Health Check Concepts.
# Internal HTTP(S) load balancers must use regional health checks. Internal TCP/
# UDP load balancers can use either regional or global health checks. All other
# types of GCP load balancers and managed instance group auto-healing must use
# global health checks. For more information, read Health Check Concepts.
# To perform health checks on network load balancers, you must use either
# httpHealthChecks or httpsHealthChecks.
class HealthCheck
@ -7869,12 +7914,6 @@ module Google
# @return [String]
attr_accessor :kind
# Configuration of logging on a health check. If logging is enabled, logs will
# be exported to Stackdriver.
# Corresponds to the JSON property `logConfig`
# @return [Google::Apis::ComputeV1::HealthCheckLogConfig]
attr_accessor :log_config
# Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@ -7942,7 +7981,6 @@ module Google
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@log_config = args[:log_config] if args.key?(:log_config)
@name = args[:name] if args.key?(:name)
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@ -8071,28 +8109,6 @@ module Google
end
end
# Configuration of logging on a health check. If logging is enabled, logs will
# be exported to Stackdriver.
class HealthCheckLogConfig
include Google::Apis::Core::Hashable
# Indicates whether or not to export logs. This is false by default, which means
# no health check logging will be done.
# Corresponds to the JSON property `enable`
# @return [Boolean]
attr_accessor :enable
alias_method :enable?, :enable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable = args[:enable] if args.key?(:enable)
end
end
# A full or valid partial URL to a health check. For example, the following are
# valid URLs:
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
@ -16289,6 +16305,7 @@ module Google
# @return [String]
attr_accessor :i_pv4_range
# Must be set to create a VPC network. If not set, a legacy network is created.
# When set to true, the VPC network is created in auto mode. When set to false,
# the VPC network is created in custom mode.
# An auto mode VPC network starts with one subnet per region. Each subnet has a
@ -16440,7 +16457,8 @@ module Google
# reached, whether they are reachable, and where they are located. For more
# information about using NEGs, see Setting up internet NEGs or Setting up
# zonal NEGs. (== resource_for `$api_version`.networkEndpointGroups ==) (==
# resource_for `$api_version`.globalNetworkEndpointGroups ==)
# resource_for `$api_version`.globalNetworkEndpointGroups ==) (== resource_for `$
# api_version`.regionNetworkEndpointGroups ==)
class NetworkEndpointGroup
include Google::Apis::Core::Hashable
@ -25843,8 +25861,9 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] The position of the next byte of content from the serial console
# output. Use this value in the next request as the start parameter.
# [Output Only] The position of the next byte of content, regardless of whether
# the content exists, following the output returned in the `contents` property.
# Use this value in the next request as the start parameter.
# Corresponds to the JSON property `next`
# @return [Fixnum]
attr_accessor :next
@ -25856,8 +25875,10 @@ module Google
# The starting byte position of the output that was returned. This should match
# the start parameter sent with the request. If the serial console output
# exceeds the size of the buffer, older output will be overwritten by newer
# content and the start values will be mismatched.
# exceeds the size of the buffer (1 MB), older output is overwritten by newer
# content. The output start value will indicate the byte position of the output
# that was returned, which might be different than the `start` value that was
# specified in the request.
# Corresponds to the JSON property `start`
# @return [Fixnum]
attr_accessor :start
@ -27271,10 +27292,11 @@ module Google
attr_accessor :id
# The range of internal addresses that are owned by this subnetwork. Provide
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
# IPv4 is supported. This field is set at resource creation time. The range can
# be expanded after creation using expandIpCidrRange.
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.
# 64.0.0/10. Ranges must be unique and non-overlapping within a network. Only
# IPv4 is supported. This field is set at resource creation time. This may be a
# RFC 1918 IP range, or a privately routed, non-RFC 1918 IP range, not belonging
# to Google. The range can be expanded after creation using expandIpCidrRange.
# Corresponds to the JSON property `ipCidrRange`
# @return [String]
attr_accessor :ip_cidr_range
@ -27714,7 +27736,8 @@ module Google
# The range of IP addresses belonging to this subnetwork secondary range.
# Provide this property when you create the subnetwork. Ranges must be unique
# and non-overlapping with all primary and secondary IP ranges within a network.
# Only IPv4 is supported.
# Only IPv4 is supported. This may be a RFC 1918 IP range, or a privately, non-
# RFC 1918 IP range, not belonging to Google.
# Corresponds to the JSON property `ipCidrRange`
# @return [String]
attr_accessor :ip_cidr_range

View File

@ -298,6 +298,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AutoscalingPolicyScaleInControl
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Backend
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1012,12 +1018,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class HealthCheckLogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HealthCheckReference
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5105,6 +5105,8 @@ module Google
property :max_num_replicas, as: 'maxNumReplicas'
property :min_num_replicas, as: 'minNumReplicas'
property :mode, as: 'mode'
property :scale_in_control, as: 'scaleInControl', class: Google::Apis::ComputeV1::AutoscalingPolicyScaleInControl, decorator: Google::Apis::ComputeV1::AutoscalingPolicyScaleInControl::Representation
end
end
@ -5131,6 +5133,15 @@ module Google
end
end
class AutoscalingPolicyScaleInControl
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_scaled_in_replicas, as: 'maxScaledInReplicas', class: Google::Apis::ComputeV1::FixedOrPercent, decorator: Google::Apis::ComputeV1::FixedOrPercent::Representation
property :time_window_sec, as: 'timeWindowSec'
end
end
class Backend
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -6144,6 +6155,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable, as: 'enable'
property :metadata, as: 'metadata'
end
end
@ -6425,8 +6437,6 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::HealthCheckLogConfig, decorator: Google::Apis::ComputeV1::HealthCheckLogConfig::Representation
property :name, as: 'name'
property :region, as: 'region'
property :self_link, as: 'selfLink'
@ -6472,13 +6482,6 @@ module Google
end
end
class HealthCheckLogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable, as: 'enable'
end
end
class HealthCheckReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -2437,6 +2437,8 @@ module Google
# The name of the zone for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2456,13 +2458,14 @@ module Google
# @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_disk_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_disk_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/disks/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -6211,6 +6214,8 @@ module Google
# Project ID for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -6230,12 +6235,13 @@ module Google
# @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_image_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/images/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -8139,6 +8145,8 @@ module Google
# Project ID for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -8158,12 +8166,13 @@ module Google
# @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_instance_template_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_instance_template_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/instanceTemplates/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -8577,8 +8586,8 @@ module Google
# The instance name for this request.
# @param [Google::Apis::ComputeV1::AttachedDisk] attached_disk_object
# @param [Boolean] force_attach
# Whether to force attach the disk even if it's currently attached to another
# instance.
# Whether to force attach the regional disk even if it's currently attached to
# another instance.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
@ -8883,6 +8892,8 @@ module Google
# The name of the zone for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -8902,13 +8913,14 @@ module Google
# @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_instance_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_instance_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -8921,14 +8933,22 @@ module Google
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# Name of the instance scoping this request.
# Name of the instance for this request.
# @param [Fixnum] port
# Specifies which COM or serial port to retrieve data from.
# @param [Fixnum] start
# Returns output starting from a specific byte position. Use this to page
# through output when the output is too large to return in a single request. For
# the initial request, leave this field unspecified. For subsequent calls, this
# field should be set to the next value returned in the previous call.
# Specifies the starting byte position of the output to return. To start with
# the first byte of output to the specified port, omit this field or set it to `
# 0`.
# If the output for that byte position is available, this field matches the `
# start` parameter sent with the request. If the amount of serial console output
# exceeds the size of the buffer (1 MB), the oldest output is discarded and is
# no longer available. If the requested start position refers to discarded
# output, the start position is adjusted to the oldest output still available,
# and the adjusted start position is returned as the `start` property value.
# You can also provide a negative start position, which translates to the most
# recent number of bytes written to the serial port. For example, -3 is
# interpreted as the most recent 3 bytes written to the serial console.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -11445,6 +11465,8 @@ module Google
# Project ID for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -11464,12 +11486,13 @@ module Google
# @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_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_license_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -13251,6 +13274,8 @@ module Google
# The name of the zone for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -13270,13 +13295,14 @@ module Google
# @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_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_node_group_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -13861,6 +13887,8 @@ module Google
# The name of the region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -13880,13 +13908,14 @@ module Google
# @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_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_node_template_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -16604,6 +16633,8 @@ module Google
# The name of the region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -16623,13 +16654,14 @@ module Google
# @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_region_disk_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_region_disk_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -20624,6 +20656,8 @@ module Google
# The name of the zone for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -20643,13 +20677,14 @@ module Google
# @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_reservation_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_reservation_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/reservations/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -21100,6 +21135,8 @@ module Google
# The name of the region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -21119,13 +21156,14 @@ module Google
# @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_resource_policy_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_resource_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -22698,6 +22736,8 @@ module Google
# Project ID for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -22717,12 +22757,13 @@ module Google
# @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_snapshot_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_snapshot_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/snapshots/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?
@ -23769,6 +23810,8 @@ module Google
# The name of the region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -23788,13 +23831,14 @@ module Google
# @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_subnetwork_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_subnetwork_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
command.response_class = Google::Apis::ComputeV1::Policy
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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?

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20200716'
REVISION = '20200721'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -5707,6 +5707,15 @@ module Google
# - "`ptt`" (PTT Turkish Post)
# - "`eub`" (ePacket)
# - "`chukou1`" (Chukou1 Logistics)
# - "`bestex`" (Best Express)
# - "`canada post`" (Canada Post)
# - "`purolator`" (Purolator)
# - "`canpar`" (Canpar)
# - "`india post`" (India Post)
# - "`blue dart`" (Blue Dart)
# - "`delhivery`" (Delhivery)
# - "`dtdc`" (DTDC)
# - "`tpc india`" (TPC India)
# Supported carriers for FR are:
# - "`la poste`" (La Poste) automatic status updates
# - "`colissimo`" (Colissimo by La Poste) automatic status updates

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2_1
VERSION = 'V2_1'
REVISION = '20200716'
REVISION = '20200721'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -5497,6 +5497,15 @@ module Google
# - "`ptt`" (PTT Turkish Post)
# - "`eub`" (ePacket)
# - "`chukou1`" (Chukou1 Logistics)
# - "`bestex`" (Best Express)
# - "`canada post`" (Canada Post)
# - "`purolator`" (Purolator)
# - "`canpar`" (Canpar)
# - "`india post`" (India Post)
# - "`blue dart`" (Blue Dart)
# - "`delhivery`" (Delhivery)
# - "`dtdc`" (DTDC)
# - "`tpc india`" (TPC India)
# Supported carriers for FR are:
# - "`la poste`" (La Poste) automatic status updates
# - "`colissimo`" (Colissimo by La Poste) automatic status updates

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1
VERSION = 'V1'
REVISION = '20200709'
REVISION = '20200725'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -35,14 +35,14 @@ module Google
# Full URL, partial URI, or short name of the accelerator type resource to
# expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.
# google.com/compute/docs/reference/beta/acceleratorTypes).Examples:
# https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/
# acceleratorTypes/nvidia-tesla-k80
# projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
# nvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone
# Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-
# clusters/auto-zone#using_auto_zone_placement) feature, you must use the short
# name of the accelerator type resource, for example, nvidia-tesla-k80.
# google.com/compute/docs/reference/beta/acceleratorTypes).Examples: https://www.
# googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/
# acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/us-east1-a/
# acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto Zone Exception: If you
# are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/
# docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
# feature, you must use the short name of the accelerator type resource, for
# example, nvidia-tesla-k80.
# Corresponds to the JSON property `acceleratorTypeUri`
# @return [String]
attr_accessor :accelerator_type_uri
@ -63,11 +63,11 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The autoscaling policy used by the cluster.Only resource names
# including projectid and location (region) are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[
# dataproc_region]/autoscalingPolicies/[policy_id]
# projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[
# policy_id]Note that the policy must be in the same project and Dataproc region.
# including projectid and location (region) are valid. Examples: https://www.
# googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/
# autoscalingPolicies/[policy_id] projects/[project_id]/locations/[
# dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be
# in the same project and Dataproc region.
# Corresponds to the JSON property `policyUri`
# @return [String]
attr_accessor :policy_uri
@ -99,12 +99,11 @@ module Google
attr_accessor :id
# Output only. The "resource name" of the autoscaling policy, as described in
# https://cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies, the resource name of the policy
# has the following format: projects/`project_id`/locations/`location`/
# https://cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies, the resource name of the policy has the following format:
# projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id` For
# projects.locations.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# Corresponds to the JSON property `name`
# @return [String]
@ -233,59 +232,48 @@ module Google
# Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec.Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service documentation
# for additional information.
# documented at https://github.com/google/cel-spec.Example (Comparison): title: "
# Summary size limit" description: "Determines if a summary is less than 100
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
# Requestor is owner" description: "Determines if requestor is the document
# owner" expression: "document.owner == request.auth.claims.email" Example (
# Logic): title: "Public documents" description: "Determine whether the document
# should be publicly visible" expression: "document.type != 'private' &&
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
# string" description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)" The
# exact variables and functions that may be referenced within an expression are
# determined by the service that evaluates it. See the service documentation for
# additional information.
# Corresponds to the JSON property `condition`
# @return [Google::Apis::DataprocV1::Expr]
attr_accessor :condition
# Specifies the identities requesting access for a Cloud Platform resource.
# members can have the following values:
# allUsers: A special identifier that represents anyone who is on the internet;
# with or without a Google account.
# members can have the following values: allUsers: A special identifier that
# represents anyone who is on the internet; with or without a Google account.
# allAuthenticatedUsers: A special identifier that represents anyone who is
# authenticated with a Google account or a service account.
# user:`emailid`: An email address that represents a specific Google account.
# For example, alice@example.com .
# serviceAccount:`emailid`: An email address that represents a service account.
# For example, my-other-app@appspot.gserviceaccount.com.
# group:`emailid`: An email address that represents a Google group. For example,
# admins@example.com.
# deleted:user:`emailid`?uid=`uniqueid`: An email address (plus unique
# identifier) representing a user that has been recently deleted. For example,
# alice@example.com?uid=123456789012345678901. If the user is recovered, this
# value reverts to user:`emailid` and the recovered user retains the role in
# the binding.
# deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email address (plus
# unique identifier) representing a service account that has been recently
# deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
# 123456789012345678901. If the service account is undeleted, this value
# reverts to serviceAccount:`emailid` and the undeleted service account retains
# the role in the binding.
# deleted:group:`emailid`?uid=`uniqueid`: An email address (plus unique
# identifier) representing a Google group that has been recently deleted. For
# example, admins@example.com?uid=123456789012345678901. If the group is
# authenticated with a Google account or a service account. user:`emailid`: An
# email address that represents a specific Google account. For example, alice@
# example.com . serviceAccount:`emailid`: An email address that represents a
# service account. For example, my-other-app@appspot.gserviceaccount.com. group:`
# emailid`: An email address that represents a Google group. For example, admins@
# example.com. deleted:user:`emailid`?uid=`uniqueid`: An email address (plus
# unique identifier) representing a user that has been recently deleted. For
# example, alice@example.com?uid=123456789012345678901. If the user is recovered,
# this value reverts to user:`emailid` and the recovered user retains the role
# in the binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email
# address (plus unique identifier) representing a service account that has been
# recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
# 123456789012345678901. If the service account is undeleted, this value reverts
# to serviceAccount:`emailid` and the undeleted service account retains the role
# in the binding. deleted:group:`emailid`?uid=`uniqueid`: An email address (plus
# unique identifier) representing a Google group that has been recently deleted.
# For example, admins@example.com?uid=123456789012345678901. If the group is
# recovered, this value reverts to group:`emailid` and the recovered group
# retains the role in the binding.
# domain:`domain`: The G Suite domain (primary) that represents all the users
# of that domain. For example, google.com or example.com.
# retains the role in the binding. 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>]
attr_accessor :members
@ -430,14 +418,10 @@ module Google
# Optional. Commands to execute on each node after config is completed. By
# default, executables are run on master and all worker nodes. You can test a
# node's role metadata to run an executable on a master or worker node, as shown
# below using curl (you can also use wget):
# ROLE=$(curl -H Metadata-Flavor:Google
# http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
# if [[ "$`ROLE`" == 'Master' ]]; then
# ... master specific actions ...
# else
# ... worker specific actions ...
# fi
# below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:
# Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
# if [[ "$`ROLE`" == 'Master' ]]; then ... master specific actions ... else ...
# worker specific actions ... fi
# Corresponds to the JSON property `initializationActions`
# @return [Array<Google::Apis::DataprocV1::NodeInitializationAction>]
attr_accessor :initialization_actions
@ -803,11 +787,9 @@ module Google
# 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:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for Empty is empty JSON object ``.
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# Empty is empty JSON object ``.
class Empty
include Google::Apis::Core::Hashable
@ -870,25 +852,19 @@ module Google
# Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec.Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service documentation
# for additional information.
# documented at https://github.com/google/cel-spec.Example (Comparison): title: "
# Summary size limit" description: "Determines if a summary is less than 100
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
# Requestor is owner" description: "Determines if requestor is the document
# owner" expression: "document.owner == request.auth.claims.email" Example (
# Logic): title: "Public documents" description: "Determine whether the document
# should be publicly visible" expression: "document.type != 'private' &&
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
# string" description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)" The
# exact variables and functions that may be referenced within an expression are
# determined by the service that evaluates it. See the service documentation for
# additional information.
class Expr
include Google::Apis::Core::Hashable
@ -956,11 +932,9 @@ module Google
# subnetwork_uri is specified, the "default" network of the project is used, if
# it exists. Cannot be a "Custom Subnet Network" (see Using Subnetworks (https://
# cloud.google.com/compute/docs/subnetworks) for more information).A full URL,
# partial URI, or short name are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/
# default
# projects/[project_id]/regions/global/default
# default
# partial URI, or short name are valid. Examples: https://www.googleapis.com/
# compute/v1/projects/[project_id]/regions/global/default projects/[project_id]/
# regions/global/default default
# Corresponds to the JSON property `networkUri`
# @return [String]
attr_accessor :network_uri
@ -983,26 +957,22 @@ module Google
attr_accessor :service_account
# Optional. The URIs of service account scopes to be included in Compute Engine
# instances. The following base set of scopes is always included:
# https://www.googleapis.com/auth/cloud.useraccounts.readonly
# https://www.googleapis.com/auth/devstorage.read_write
# https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the
# following defaults are also provided:
# https://www.googleapis.com/auth/bigquery
# https://www.googleapis.com/auth/bigtable.admin.table
# https://www.googleapis.com/auth/bigtable.data
# https://www.googleapis.com/auth/devstorage.full_control
# instances. The following base set of scopes is always included: https://www.
# googleapis.com/auth/cloud.useraccounts.readonly https://www.googleapis.com/
# auth/devstorage.read_write https://www.googleapis.com/auth/logging.writeIf no
# scopes are specified, the following defaults are also provided: https://www.
# googleapis.com/auth/bigquery https://www.googleapis.com/auth/bigtable.admin.
# table https://www.googleapis.com/auth/bigtable.data https://www.googleapis.com/
# auth/devstorage.full_control
# Corresponds to the JSON property `serviceAccountScopes`
# @return [Array<String>]
attr_accessor :service_account_scopes
# Optional. The Compute Engine subnetwork to be used for machine communications.
# Cannot be specified with network_uri.A full URL, partial URI, or short name
# are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/
# subnetworks/sub0
# projects/[project_id]/regions/us-east1/subnetworks/sub0
# sub0
# are valid. Examples: https://www.googleapis.com/compute/v1/projects/[
# project_id]/regions/us-east1/subnetworks/sub0 projects/[project_id]/regions/us-
# east1/subnetworks/sub0 sub0
# Corresponds to the JSON property `subnetworkUri`
# @return [String]
attr_accessor :subnetwork_uri
@ -1017,10 +987,9 @@ module Google
# create request, it is required in the "global" region. If omitted in a non-
# global Dataproc region, the service will pick a zone in the corresponding
# Compute Engine region. On a get request, zone will always be present.A full
# URL, partial URI, or short name are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]
# projects/[project_id]/zones/[zone]
# us-central1-f
# URL, partial URI, or short name are valid. Examples: https://www.googleapis.
# com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[
# zone] us-central1-f
# Corresponds to the JSON property `zoneUri`
# @return [String]
attr_accessor :zone_uri
@ -1289,17 +1258,14 @@ module Google
attr_accessor :disk_config
# Optional. The Compute Engine image resource used for cluster instances.The URI
# can represent an image or image family.Image examples:
# https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[
# image-id]
# projects/[project_id]/global/images/[image-id]
# image-idImage family examples. Dataproc will use the most recent image from
# the family:
# https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/
# family/[custom-image-family-name]
# projects/[project_id]/global/images/family/[custom-image-family-name]If the
# URI is unspecified, it will be inferred from SoftwareConfig.image_version or
# the system default.
# can represent an image or image family.Image examples: https://www.googleapis.
# com/compute/beta/projects/[project_id]/global/images/[image-id] projects/[
# project_id]/global/images/[image-id] image-idImage family examples. Dataproc
# will use the most recent image from the family: https://www.googleapis.com/
# compute/beta/projects/[project_id]/global/images/family/[custom-image-family-
# name] projects/[project_id]/global/images/family/[custom-image-family-name]If
# the URI is unspecified, it will be inferred from SoftwareConfig.image_version
# or the system default.
# Corresponds to the JSON property `imageUri`
# @return [String]
attr_accessor :image_uri
@ -1317,11 +1283,10 @@ module Google
alias_method :is_preemptible?, :is_preemptible
# Optional. The Compute Engine machine type used for cluster instances.A full
# URL, partial URI, or short name are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/
# machineTypes/n1-standard-2
# projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
# n1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone
# URL, partial URI, or short name are valid. Examples: https://www.googleapis.
# com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-
# 2 projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 n1-
# standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone
# Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-
# clusters/auto-zone#using_auto_zone_placement) feature, you must use the short
# name of the machine type resource, for example, n1-standard-2.
@ -1335,7 +1300,7 @@ module Google
attr_accessor :managed_group_config
# Optional. Specifies the minimum cpu platform for the Instance Group. See
# Dataproc -&gt; Minimum CPU Platform (https://cloud.google.com/dataproc/docs/
# Dataproc -> Minimum CPU Platform (https://cloud.google.com/dataproc/docs/
# concepts/compute/dataproc-min-cpu).
# Corresponds to the JSON property `minCpuPlatform`
# @return [String]
@ -1685,7 +1650,7 @@ module Google
include Google::Apis::Core::Hashable
# Optional. Output only. Job state details, such as an error description if the
# state is <code>ERROR</code>.
# state is ERROR.
# Corresponds to the JSON property `details`
# @return [String]
attr_accessor :details
@ -1952,7 +1917,7 @@ module Google
# Optional. This token is included in the response if there are more results to
# fetch. To fetch additional results, provide this value as the page_token in a
# subsequent <code>ListJobsRequest</code>.
# subsequent ListJobsRequest.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1999,7 +1964,7 @@ module Google
# Output only. This token is included in the response if there are more results
# to fetch. To fetch additional results, provide this value as the page_token in
# a subsequent <code>ListWorkflowTemplatesRequest</code>.
# a subsequent ListWorkflowTemplatesRequest.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -2405,52 +2370,22 @@ module Google
# condition can add constraints based on attributes of the request, the resource,
# or both. To learn which resources support conditions in their IAM policies,
# see the IAM documentation (https://cloud.google.com/iam/help/conditions/
# resource-policies).JSON example:
# `
# "bindings": [
# `
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
# "user:mike@example.com",
# "group:admins@example.com",
# "domain:google.com",
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ]
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
# `
# `
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# `
# YAML example:
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin
# - members:
# - user:eve@example.com
# role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the IAM documentation (https://
# cloud.google.com/iam/docs/).
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
# title": "expirable access", "description": "Does not grant access after Sep
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` YAML example: bindings: - members:
# - user:mike@example.com - group:admins@example.com - domain:google.com -
# serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
# roles/resourcemanager.organizationViewer condition: title: expirable access
# description: Does not grant access after Sep 2020 expression: request.time <
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
# description of IAM and its features, see the IAM documentation (https://cloud.
# google.com/iam/docs/).
class Policy
include Google::Apis::Core::Hashable
@ -2479,19 +2414,17 @@ module Google
# Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that
# specify an invalid value are rejected.Any operation that affects conditional
# role bindings must specify version 3. This requirement applies to the
# following operations:
# Getting a policy that includes a conditional role binding
# Adding a conditional role binding to a policy
# Changing a conditional role binding in a policy
# Removing any role binding, with or without a condition, from a policy that
# includes conditionsImportant: If you use IAM Conditions, you must include the
# etag field whenever you call setIamPolicy. If you omit this field, then IAM
# allows you to overwrite a version 3 policy with a version 1 policy, and all of
# the conditions in the version 3 policy are lost.If a policy does not include
# any conditions, operations on that policy may specify any valid version or
# leave the field unset.To learn which resources support conditions in their IAM
# policies, see the IAM documentation (https://cloud.google.com/iam/help/
# conditions/resource-policies).
# following operations: Getting a policy that includes a conditional role
# binding Adding a conditional role binding to a policy Changing a conditional
# role binding in a policy Removing any role binding, with or without a
# condition, from a policy that includes conditionsImportant: If you use IAM
# Conditions, you must include the etag field whenever you call setIamPolicy. If
# you omit this field, then IAM allows you to overwrite a version 3 policy with
# a version 1 policy, and all of the conditions in the version 3 policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.To learn which resources
# support conditions in their IAM policies, see the IAM documentation (https://
# cloud.google.com/iam/help/conditions/resource-policies).
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -2651,16 +2584,8 @@ module Google
# Required. The queries to execute. You do not need to terminate a query with a
# semicolon. Multiple queries can be specified in one string by separating each
# with a semicolon. Here is an example of an Cloud Dataproc API snippet that
# uses a QueryList to specify a HiveJob:
# "hiveJob": `
# "queryList": `
# "queries": [
# "query1",
# "query2",
# "query3;query4",
# ]
# `
# `
# uses a QueryList to specify a HiveJob: "hiveJob": ` "queryList": ` "queries": [
# "query1", "query2", "query3;query4", ] ` `
# Corresponds to the JSON property `queries`
# @return [Array<String>]
attr_accessor :queries
@ -2761,52 +2686,22 @@ module Google
# condition can add constraints based on attributes of the request, the resource,
# or both. To learn which resources support conditions in their IAM policies,
# see the IAM documentation (https://cloud.google.com/iam/help/conditions/
# resource-policies).JSON example:
# `
# "bindings": [
# `
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
# "user:mike@example.com",
# "group:admins@example.com",
# "domain:google.com",
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ]
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
# `
# `
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# `
# YAML example:
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin
# - members:
# - user:eve@example.com
# role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the IAM documentation (https://
# cloud.google.com/iam/docs/).
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
# title": "expirable access", "description": "Does not grant access after Sep
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` YAML example: bindings: - members:
# - user:mike@example.com - group:admins@example.com - domain:google.com -
# serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
# roles/resourcemanager.organizationViewer condition: title: expirable access
# description: Does not grant access after Sep 2020 expression: request.time <
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
# description of IAM and its features, see the IAM documentation (https://cloud.
# google.com/iam/docs/).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::DataprocV1::Policy]
attr_accessor :policy
@ -2842,17 +2737,12 @@ module Google
# Optional. The properties to set on daemon config files.Property keys are
# specified in prefix:property format, for example core:hadoop.tmp.dir. The
# following are supported prefixes and their mappings:
# capacity-scheduler: capacity-scheduler.xml
# core: core-site.xml
# distcp: distcp-default.xml
# hdfs: hdfs-site.xml
# hive: hive-site.xml
# mapred: mapred-site.xml
# pig: pig.properties
# spark: spark-defaults.conf
# yarn: yarn-site.xmlFor more information, see Cluster properties (https://cloud.
# google.com/dataproc/docs/concepts/cluster-properties).
# following are supported prefixes and their mappings: capacity-scheduler:
# capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs:
# hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: pig.properties
# spark: spark-defaults.conf yarn: yarn-site.xmlFor more information, see
# Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-
# properties).
# Corresponds to the JSON property `properties`
# @return [Hash<String,String>]
attr_accessor :properties
@ -3138,34 +3028,22 @@ module Google
# similar in syntax to a google.protobuf.FieldMask. For example, a field path
# that references the zone field of a workflow template's cluster selector would
# be specified as placement.clusterSelector.zone.Also, field paths can reference
# fields using the following syntax:
# Values in maps can be referenced by key:
# labels'key'
# placement.clusterSelector.clusterLabels'key'
# placement.managedCluster.labels'key'
# placement.clusterSelector.clusterLabels'key'
# jobs'step-id'.labels'key'
# Jobs in the jobs list can be referenced by step-id:
# jobs'step-id'.hadoopJob.mainJarFileUri
# jobs'step-id'.hiveJob.queryFileUri
# jobs'step-id'.pySparkJob.mainPythonFileUri
# jobs'step-id'.hadoopJob.jarFileUris0
# jobs'step-id'.hadoopJob.archiveUris0
# jobs'step-id'.hadoopJob.fileUris0
# jobs'step-id'.pySparkJob.pythonFileUris0
# Items in repeated fields can be referenced by a zero-based index:
# jobs'step-id'.sparkJob.args0
# Other examples:
# jobs'step-id'.hadoopJob.properties'key'
# jobs'step-id'.hadoopJob.args0
# jobs'step-id'.hiveJob.scriptVariables'key'
# jobs'step-id'.hadoopJob.mainJarFileUri
# placement.clusterSelector.zoneIt may not be possible to parameterize maps and
# repeated fields in their entirety since only individual map values and
# individual items in repeated fields can be referenced. For example, the
# following field paths are invalid:
# placement.clusterSelector.clusterLabels
# jobs'step-id'.sparkJob.args
# fields using the following syntax: Values in maps can be referenced by key:
# labels'key' placement.clusterSelector.clusterLabels'key' placement.
# managedCluster.labels'key' placement.clusterSelector.clusterLabels'key' jobs'
# step-id'.labels'key' Jobs in the jobs list can be referenced by step-id: jobs'
# step-id'.hadoopJob.mainJarFileUri jobs'step-id'.hiveJob.queryFileUri jobs'step-
# id'.pySparkJob.mainPythonFileUri jobs'step-id'.hadoopJob.jarFileUris0 jobs'
# step-id'.hadoopJob.archiveUris0 jobs'step-id'.hadoopJob.fileUris0 jobs'step-id'
# .pySparkJob.pythonFileUris0 Items in repeated fields can be referenced by a
# zero-based index: jobs'step-id'.sparkJob.args0 Other examples: jobs'step-id'.
# hadoopJob.properties'key' jobs'step-id'.hadoopJob.args0 jobs'step-id'.hiveJob.
# scriptVariables'key' jobs'step-id'.hadoopJob.mainJarFileUri placement.
# clusterSelector.zoneIt may not be possible to parameterize maps and repeated
# fields in their entirety since only individual map values and individual items
# in repeated fields can be referenced. For example, the following field paths
# are invalid: placement.clusterSelector.clusterLabels jobs'step-id'.sparkJob.
# args
# Corresponds to the JSON property `fields`
# @return [Array<String>]
attr_accessor :fields
@ -3325,12 +3203,11 @@ module Google
attr_accessor :state
# Output only. The resource name of the workflow template as described in https:/
# /cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# /cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates, the resource name of the template has the following format:
# projects/`project_id`/regions/`region`/workflowTemplates/`template_id` For
# projects.locations.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# Corresponds to the JSON property `template`
# @return [String]
@ -3434,12 +3311,11 @@ module Google
attr_accessor :labels
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates, the resource name of the template has the following format:
# projects/`project_id`/regions/`region`/workflowTemplates/`template_id` For
# projects.locations.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# Corresponds to the JSON property `name`
# @return [String]
@ -3518,10 +3394,10 @@ module Google
end
end
# A YARN application created by a job. Application information is a subset of <
# code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>.
# Beta Feature: This report is available for testing purposes only. It may be
# changed before final release.
# A YARN application created by a job. Application information is a subset of
# org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.Beta Feature:
# This report is available for testing purposes only. It may be changed before
# final release.
class YarnApplication
include Google::Apis::Core::Hashable

View File

@ -50,11 +50,11 @@ module Google
# Creates new autoscaling policy.
# @param [String] parent
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.create, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.create, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.create, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# autoscalingPolicies.create, the resource name of the location has the
# following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -89,10 +89,9 @@ module Google
# that is in use by one or more clusters.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.delete, the resource name of the policy has the following
# format: projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
@ -126,10 +125,9 @@ module Google
# Retrieves autoscaling policy.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.get, the resource name of the policy
# has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.get, the resource name of the policy has the following
# format: projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.get, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
@ -198,11 +196,11 @@ module Google
# Lists autoscaling policies in the project.
# @param [String] parent
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.list, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.list, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# autoscalingPolicies.list, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response. Must be
# less than or equal to 1000. Defaults to 100.
@ -316,12 +314,11 @@ module Google
# all updates will be full replacements.
# @param [String] name
# Output only. The "resource name" of the autoscaling policy, as described in
# https://cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies, the resource name of the policy
# has the following format: projects/`project_id`/locations/`location`/
# https://cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies, the resource name of the policy has the following format:
# projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id` For
# projects.locations.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# @param [Google::Apis::DataprocV1::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
@ -356,11 +353,11 @@ module Google
# Creates new workflow template.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,create, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.create, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,create, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# workflowTemplates.create, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -394,13 +391,12 @@ module Google
# Deletes a workflow template. It does not cancel in-progress workflows.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.delete, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.delete, the resource name of the template has the following
# format: projects/`project_id`/regions/`region`/workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to delete. If specified, will only
# delete the template if the current server version matches specified version.
@ -436,10 +432,9 @@ module Google
# template by specifying optional version parameter.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.get, the resource name of the template
# has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.get, the resource name of the template has the following
# format: projects/`project_id`/regions/`region`/workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.get, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
@ -522,13 +517,12 @@ module Google
# Empty.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.instantiate, the resource name of the template has the
# following format: projects/`project_id`/regions/`region`/workflowTemplates/`
# template_id` For projects.locations.workflowTemplates.instantiate, the
# resource name of the template has the following format: projects/`project_id`/
# locations/`location`/workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1::InstantiateWorkflowTemplateRequest] instantiate_workflow_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -572,12 +566,11 @@ module Google
# successful completion, Operation.response will be Empty.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,instantiateinline, the resource name
# of the region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.instantiateinline, the resource name
# of the location has the following format: projects/`project_id`/locations/`
# location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,instantiateinline, the resource name of the region has the
# following format: projects/`project_id`/regions/`region` For projects.
# locations.workflowTemplates.instantiateinline, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] request_id
# Optional. A tag that prevents multiple concurrent workflow instances with the
@ -619,11 +612,11 @@ module Google
# Lists workflows that match the specified filter in the request.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,list, the resource name of the region
# has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,list, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# workflowTemplates.list, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response.
# @param [String] page_token
@ -736,12 +729,11 @@ module Google
# version that matches the current server version.
# @param [String] name
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates, the resource name of the template has the following format:
# projects/`project_id`/regions/`region`/workflowTemplates/`template_id` For
# projects.locations.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] fields
@ -776,11 +768,11 @@ module Google
# Creates new autoscaling policy.
# @param [String] parent
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.create, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.create, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.create, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# autoscalingPolicies.create, the resource name of the location has the
# following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -815,10 +807,9 @@ module Google
# that is in use by one or more clusters.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.delete, the resource name of the policy has the following
# format: projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
@ -852,10 +843,9 @@ module Google
# Retrieves autoscaling policy.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.get, the resource name of the policy
# has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.get, the resource name of the policy has the following
# format: projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.get, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
@ -924,11 +914,11 @@ module Google
# Lists autoscaling policies in the project.
# @param [String] parent
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.list, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.list, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# autoscalingPolicies.list, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response. Must be
# less than or equal to 1000. Defaults to 100.
@ -1042,12 +1032,11 @@ module Google
# all updates will be full replacements.
# @param [String] name
# Output only. The "resource name" of the autoscaling policy, as described in
# https://cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies, the resource name of the policy
# has the following format: projects/`project_id`/locations/`location`/
# https://cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies, the resource name of the policy has the following format:
# projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id` For
# projects.locations.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# @param [Google::Apis::DataprocV1::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
@ -1380,33 +1369,16 @@ module Google
# Required. Specifies the path, relative to Cluster, of the field to update. For
# example, to change the number of workers in a cluster to 5, the update_mask
# parameter would be specified as config.worker_config.num_instances, and the
# PATCH request body would specify the new value, as follows:
# `
# "config":`
# "workerConfig":`
# "numInstances":"5"
# `
# `
# `
# Similarly, to change the number of preemptible workers in a cluster to 5, the
# update_mask parameter would be config.secondary_worker_config.num_instances,
# and the PATCH request body would be set as follows:
# `
# "config":`
# "secondaryWorkerConfig":`
# "numInstances":"5"
# `
# `
# `
# <strong>Note:</strong> Currently, only the following fields can be updated:<
# table> <tbody> <tr> <td><strong>Mask</strong></td> <td><strong>Purpose</
# strong></td> </tr> <tr> <td><strong><em>labels</em></strong></td> <td>
# Update labels</td> </tr> <tr> <td><strong><em>config.worker_config.
# num_instances</em></strong></td> <td>Resize primary worker group</td> </tr>
# <tr> <td><strong><em>config.secondary_worker_config.num_instances</em></
# strong></td> <td>Resize secondary worker group</td> </tr> <tr> <td>config.
# autoscaling_config.policy_uri</td><td>Use, stop using, or change autoscaling
# policies</td> </tr> </tbody> </table>
# PATCH request body would specify the new value, as follows: ` "config":` "
# workerConfig":` "numInstances":"5" ` ` ` Similarly, to change the number of
# preemptible workers in a cluster to 5, the update_mask parameter would be
# config.secondary_worker_config.num_instances, and the PATCH request body would
# be set as follows: ` "config":` "secondaryWorkerConfig":` "numInstances":"5" `
# ` ` *Note:* Currently, only the following fields can be updated: *Mask* *
# Purpose* *labels* Update labels *config.worker_config.num_instances* Resize
# primary worker group *config.secondary_worker_config.num_instances* Resize
# secondary worker group config.autoscaling_config.policy_uri Use, stop using,
# or change autoscaling policies
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1732,11 +1704,10 @@ module Google
# Required. The job ID.
# @param [Google::Apis::DataprocV1::Job] job_object
# @param [String] update_mask
# Required. Specifies the path, relative to <code>Job</code>, of the field to
# update. For example, to update the labels of a Job the <code>update_mask</code>
# parameter would be specified as <code>labels</code>, and the PATCH request
# body would specify the new value. <strong>Note:</strong> Currently, <code>
# labels</code> is the only field that can be updated.
# Required. Specifies the path, relative to Job, of the field to update. For
# example, to update the labels of a Job the update_mask parameter would be
# specified as labels, and the PATCH request body would specify the new value. *
# Note:* Currently, labels is the only field that can be updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2174,11 +2145,11 @@ module Google
# Creates new workflow template.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,create, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.create, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,create, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# workflowTemplates.create, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2212,13 +2183,12 @@ module Google
# Deletes a workflow template. It does not cancel in-progress workflows.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.delete, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.delete, the resource name of the template has the following
# format: projects/`project_id`/regions/`region`/workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to delete. If specified, will only
# delete the template if the current server version matches specified version.
@ -2254,10 +2224,9 @@ module Google
# template by specifying optional version parameter.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.get, the resource name of the template
# has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.get, the resource name of the template has the following
# format: projects/`project_id`/regions/`region`/workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.get, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
@ -2340,13 +2309,12 @@ module Google
# Empty.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.instantiate, the resource name of the template has the
# following format: projects/`project_id`/regions/`region`/workflowTemplates/`
# template_id` For projects.locations.workflowTemplates.instantiate, the
# resource name of the template has the following format: projects/`project_id`/
# locations/`location`/workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1::InstantiateWorkflowTemplateRequest] instantiate_workflow_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2390,12 +2358,11 @@ module Google
# successful completion, Operation.response will be Empty.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,instantiateinline, the resource name
# of the region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.instantiateinline, the resource name
# of the location has the following format: projects/`project_id`/locations/`
# location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,instantiateinline, the resource name of the region has the
# following format: projects/`project_id`/regions/`region` For projects.
# locations.workflowTemplates.instantiateinline, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] request_id
# Optional. A tag that prevents multiple concurrent workflow instances with the
@ -2437,11 +2404,11 @@ module Google
# Lists workflows that match the specified filter in the request.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,list, the resource name of the region
# has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,list, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# workflowTemplates.list, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response.
# @param [String] page_token
@ -2554,12 +2521,11 @@ module Google
# version that matches the current server version.
# @param [String] name
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates, the resource name of the template has the following format:
# projects/`project_id`/regions/`region`/workflowTemplates/`template_id` For
# projects.locations.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] fields

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1beta2
VERSION = 'V1beta2'
REVISION = '20200709'
REVISION = '20200725'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -63,11 +63,11 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The autoscaling policy used by the cluster.Only resource names
# including projectid and location (region) are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[
# dataproc_region]/autoscalingPolicies/[policy_id]
# projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[
# policy_id]Note that the policy must be in the same project and Dataproc region.
# including projectid and location (region) are valid. Examples: https://www.
# googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/
# autoscalingPolicies/[policy_id] projects/[project_id]/locations/[
# dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be
# in the same project and Dataproc region.
# Corresponds to the JSON property `policyUri`
# @return [String]
attr_accessor :policy_uri
@ -99,12 +99,11 @@ module Google
attr_accessor :id
# Output only. The "resource name" of the autoscaling policy, as described in
# https://cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies, the resource name of the policy
# has the following format: projects/`project_id`/locations/`location`/
# https://cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies, the resource name of the policy has the following format:
# projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id` For
# projects.locations.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# Corresponds to the JSON property `name`
# @return [String]
@ -233,59 +232,48 @@ module Google
# Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec.Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service documentation
# for additional information.
# documented at https://github.com/google/cel-spec.Example (Comparison): title: "
# Summary size limit" description: "Determines if a summary is less than 100
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
# Requestor is owner" description: "Determines if requestor is the document
# owner" expression: "document.owner == request.auth.claims.email" Example (
# Logic): title: "Public documents" description: "Determine whether the document
# should be publicly visible" expression: "document.type != 'private' &&
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
# string" description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)" The
# exact variables and functions that may be referenced within an expression are
# determined by the service that evaluates it. See the service documentation for
# additional information.
# Corresponds to the JSON property `condition`
# @return [Google::Apis::DataprocV1beta2::Expr]
attr_accessor :condition
# Specifies the identities requesting access for a Cloud Platform resource.
# members can have the following values:
# allUsers: A special identifier that represents anyone who is on the internet;
# with or without a Google account.
# members can have the following values: allUsers: A special identifier that
# represents anyone who is on the internet; with or without a Google account.
# allAuthenticatedUsers: A special identifier that represents anyone who is
# authenticated with a Google account or a service account.
# user:`emailid`: An email address that represents a specific Google account.
# For example, alice@example.com .
# serviceAccount:`emailid`: An email address that represents a service account.
# For example, my-other-app@appspot.gserviceaccount.com.
# group:`emailid`: An email address that represents a Google group. For example,
# admins@example.com.
# deleted:user:`emailid`?uid=`uniqueid`: An email address (plus unique
# identifier) representing a user that has been recently deleted. For example,
# alice@example.com?uid=123456789012345678901. If the user is recovered, this
# value reverts to user:`emailid` and the recovered user retains the role in
# the binding.
# deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email address (plus
# unique identifier) representing a service account that has been recently
# deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
# 123456789012345678901. If the service account is undeleted, this value
# reverts to serviceAccount:`emailid` and the undeleted service account retains
# the role in the binding.
# deleted:group:`emailid`?uid=`uniqueid`: An email address (plus unique
# identifier) representing a Google group that has been recently deleted. For
# example, admins@example.com?uid=123456789012345678901. If the group is
# authenticated with a Google account or a service account. user:`emailid`: An
# email address that represents a specific Google account. For example, alice@
# example.com . serviceAccount:`emailid`: An email address that represents a
# service account. For example, my-other-app@appspot.gserviceaccount.com. group:`
# emailid`: An email address that represents a Google group. For example, admins@
# example.com. deleted:user:`emailid`?uid=`uniqueid`: An email address (plus
# unique identifier) representing a user that has been recently deleted. For
# example, alice@example.com?uid=123456789012345678901. If the user is recovered,
# this value reverts to user:`emailid` and the recovered user retains the role
# in the binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email
# address (plus unique identifier) representing a service account that has been
# recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
# 123456789012345678901. If the service account is undeleted, this value reverts
# to serviceAccount:`emailid` and the undeleted service account retains the role
# in the binding. deleted:group:`emailid`?uid=`uniqueid`: An email address (plus
# unique identifier) representing a Google group that has been recently deleted.
# For example, admins@example.com?uid=123456789012345678901. If the group is
# recovered, this value reverts to group:`emailid` and the recovered group
# retains the role in the binding.
# domain:`domain`: The G Suite domain (primary) that represents all the users
# of that domain. For example, google.com or example.com.
# retains the role in the binding. 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>]
attr_accessor :members
@ -434,15 +422,11 @@ module Google
# Optional. Commands to execute on each node after config is completed. By
# default, executables are run on master and all worker nodes. You can test a
# node's <code>role</code> metadata to run an executable on a master or worker
# node, as shown below using curl (you can also use wget):
# ROLE=$(curl -H Metadata-Flavor:Google
# http://metadata/computeMetadata/v1beta2/instance/attributes/dataproc-role)
# if [[ "$`ROLE`" == 'Master' ]]; then
# ... master specific actions ...
# else
# ... worker specific actions ...
# fi
# node's role metadata to run an executable on a master or worker node, as shown
# below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:
# Google http://metadata/computeMetadata/v1beta2/instance/attributes/dataproc-
# role) if [[ "$`ROLE`" == 'Master' ]]; then ... master specific actions ...
# else ... worker specific actions ... fi
# Corresponds to the JSON property `initializationActions`
# @return [Array<Google::Apis::DataprocV1beta2::NodeInitializationAction>]
attr_accessor :initialization_actions
@ -809,11 +793,9 @@ module Google
# 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:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for Empty is empty JSON object ``.
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# Empty is empty JSON object ``.
class Empty
include Google::Apis::Core::Hashable
@ -876,25 +858,19 @@ module Google
# Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec.Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service documentation
# for additional information.
# documented at https://github.com/google/cel-spec.Example (Comparison): title: "
# Summary size limit" description: "Determines if a summary is less than 100
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
# Requestor is owner" description: "Determines if requestor is the document
# owner" expression: "document.owner == request.auth.claims.email" Example (
# Logic): title: "Public documents" description: "Determine whether the document
# should be publicly visible" expression: "document.type != 'private' &&
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
# string" description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)" The
# exact variables and functions that may be referenced within an expression are
# determined by the service that evaluates it. See the service documentation for
# additional information.
class Expr
include Google::Apis::Core::Hashable
@ -962,11 +938,9 @@ module Google
# subnetwork_uri is specified, the "default" network of the project is used, if
# it exists. Cannot be a "Custom Subnet Network" (see Using Subnetworks (https://
# cloud.google.com/compute/docs/subnetworks) for more information).A full URL,
# partial URI, or short name are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/
# default
# projects/[project_id]/regions/global/default
# default
# partial URI, or short name are valid. Examples: https://www.googleapis.com/
# compute/v1/projects/[project_id]/regions/global/default projects/[project_id]/
# regions/global/default default
# Corresponds to the JSON property `networkUri`
# @return [String]
attr_accessor :network_uri
@ -989,26 +963,22 @@ module Google
attr_accessor :service_account
# Optional. The URIs of service account scopes to be included in Compute Engine
# instances. The following base set of scopes is always included:
# https://www.googleapis.com/auth/cloud.useraccounts.readonly
# https://www.googleapis.com/auth/devstorage.read_write
# https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the
# following defaults are also provided:
# https://www.googleapis.com/auth/bigquery
# https://www.googleapis.com/auth/bigtable.admin.table
# https://www.googleapis.com/auth/bigtable.data
# https://www.googleapis.com/auth/devstorage.full_control
# instances. The following base set of scopes is always included: https://www.
# googleapis.com/auth/cloud.useraccounts.readonly https://www.googleapis.com/
# auth/devstorage.read_write https://www.googleapis.com/auth/logging.writeIf no
# scopes are specified, the following defaults are also provided: https://www.
# googleapis.com/auth/bigquery https://www.googleapis.com/auth/bigtable.admin.
# table https://www.googleapis.com/auth/bigtable.data https://www.googleapis.com/
# auth/devstorage.full_control
# Corresponds to the JSON property `serviceAccountScopes`
# @return [Array<String>]
attr_accessor :service_account_scopes
# Optional. The Compute Engine subnetwork to be used for machine communications.
# Cannot be specified with network_uri.A full URL, partial URI, or short name
# are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/
# subnetworks/sub0
# projects/[project_id]/regions/us-east1/subnetworks/sub0
# sub0
# are valid. Examples: https://www.googleapis.com/compute/v1/projects/[
# project_id]/regions/us-east1/subnetworks/sub0 projects/[project_id]/regions/us-
# east1/subnetworks/sub0 sub0
# Corresponds to the JSON property `subnetworkUri`
# @return [String]
attr_accessor :subnetwork_uri
@ -1023,10 +993,9 @@ module Google
# create request, it is required in the "global" region. If omitted in a non-
# global Dataproc region, the service will pick a zone in the corresponding
# Compute Engine region. On a get request, zone will always be present.A full
# URL, partial URI, or short name are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]
# projects/[project_id]/zones/[zone]
# us-central1-f
# URL, partial URI, or short name are valid. Examples: https://www.googleapis.
# com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[
# zone] us-central1-f
# Corresponds to the JSON property `zoneUri`
# @return [String]
attr_accessor :zone_uri
@ -1314,17 +1283,14 @@ module Google
attr_accessor :disk_config
# Optional. The Compute Engine image resource used for cluster instances.The URI
# can represent an image or image family.Image examples:
# https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[
# image-id]
# projects/[project_id]/global/images/[image-id]
# image-idImage family examples. Dataproc will use the most recent image from
# the family:
# https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/
# family/[custom-image-family-name]
# projects/[project_id]/global/images/family/[custom-image-family-name]If the
# URI is unspecified, it will be inferred from SoftwareConfig.image_version or
# the system default.
# can represent an image or image family.Image examples: https://www.googleapis.
# com/compute/beta/projects/[project_id]/global/images/[image-id] projects/[
# project_id]/global/images/[image-id] image-idImage family examples. Dataproc
# will use the most recent image from the family: https://www.googleapis.com/
# compute/beta/projects/[project_id]/global/images/family/[custom-image-family-
# name] projects/[project_id]/global/images/family/[custom-image-family-name]If
# the URI is unspecified, it will be inferred from SoftwareConfig.image_version
# or the system default.
# Corresponds to the JSON property `imageUri`
# @return [String]
attr_accessor :image_uri
@ -1342,11 +1308,10 @@ module Google
alias_method :is_preemptible?, :is_preemptible
# Optional. The Compute Engine machine type used for cluster instances.A full
# URL, partial URI, or short name are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/
# machineTypes/n1-standard-2
# projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
# n1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone
# URL, partial URI, or short name are valid. Examples: https://www.googleapis.
# com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-
# 2 projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 n1-
# standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone
# Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-
# clusters/auto-zone#using_auto_zone_placement) feature, you must use the short
# name of the machine type resource, for example, n1-standard-2.
@ -1359,7 +1324,7 @@ module Google
# @return [Google::Apis::DataprocV1beta2::ManagedGroupConfig]
attr_accessor :managed_group_config
# Specifies the minimum cpu platform for the Instance Group. See Dataproc -&gt;
# Specifies the minimum cpu platform for the Instance Group. See Dataproc ->
# Minimum CPU Platform (https://cloud.google.com/dataproc/docs/concepts/compute/
# dataproc-min-cpu).
# Corresponds to the JSON property `minCpuPlatform`
@ -1566,7 +1531,7 @@ module Google
attr_accessor :status_history
# Output only. The email address of the user submitting the job. For jobs
# submitted on the cluster, the address is <code>username@hostname</code>.
# submitted on the cluster, the address is username@hostname.
# Corresponds to the JSON property `submittedBy`
# @return [String]
attr_accessor :submitted_by
@ -1726,7 +1691,7 @@ module Google
include Google::Apis::Core::Hashable
# Output only. Optional Job state details, such as an error description if the
# state is <code>ERROR</code>.
# state is ERROR.
# Corresponds to the JSON property `details`
# @return [String]
attr_accessor :details
@ -1966,7 +1931,7 @@ module Google
# Output only. This token is included in the response if there are more results
# to fetch. To fetch additional results, provide this value as the page_token in
# a subsequent <code>ListClustersRequest</code>.
# a subsequent ListClustersRequest.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1993,7 +1958,7 @@ module Google
# Optional. This token is included in the response if there are more results to
# fetch. To fetch additional results, provide this value as the page_token in a
# subsequent <code>ListJobsRequest</code>.
# subsequent ListJobsRequest.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -2040,7 +2005,7 @@ module Google
# Output only. This token is included in the response if there are more results
# to fetch. To fetch additional results, provide this value as the page_token in
# a subsequent <code>ListWorkflowTemplatesRequest</code>.
# a subsequent ListWorkflowTemplatesRequest.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -2475,52 +2440,22 @@ module Google
# condition can add constraints based on attributes of the request, the resource,
# or both. To learn which resources support conditions in their IAM policies,
# see the IAM documentation (https://cloud.google.com/iam/help/conditions/
# resource-policies).JSON example:
# `
# "bindings": [
# `
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
# "user:mike@example.com",
# "group:admins@example.com",
# "domain:google.com",
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ]
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
# `
# `
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# `
# YAML example:
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin
# - members:
# - user:eve@example.com
# role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the IAM documentation (https://
# cloud.google.com/iam/docs/).
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
# title": "expirable access", "description": "Does not grant access after Sep
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` YAML example: bindings: - members:
# - user:mike@example.com - group:admins@example.com - domain:google.com -
# serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
# roles/resourcemanager.organizationViewer condition: title: expirable access
# description: Does not grant access after Sep 2020 expression: request.time <
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
# description of IAM and its features, see the IAM documentation (https://cloud.
# google.com/iam/docs/).
class Policy
include Google::Apis::Core::Hashable
@ -2549,19 +2484,17 @@ module Google
# Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that
# specify an invalid value are rejected.Any operation that affects conditional
# role bindings must specify version 3. This requirement applies to the
# following operations:
# Getting a policy that includes a conditional role binding
# Adding a conditional role binding to a policy
# Changing a conditional role binding in a policy
# Removing any role binding, with or without a condition, from a policy that
# includes conditionsImportant: If you use IAM Conditions, you must include the
# etag field whenever you call setIamPolicy. If you omit this field, then IAM
# allows you to overwrite a version 3 policy with a version 1 policy, and all of
# the conditions in the version 3 policy are lost.If a policy does not include
# any conditions, operations on that policy may specify any valid version or
# leave the field unset.To learn which resources support conditions in their IAM
# policies, see the IAM documentation (https://cloud.google.com/iam/help/
# conditions/resource-policies).
# following operations: Getting a policy that includes a conditional role
# binding Adding a conditional role binding to a policy Changing a conditional
# role binding in a policy Removing any role binding, with or without a
# condition, from a policy that includes conditionsImportant: If you use IAM
# Conditions, you must include the etag field whenever you call setIamPolicy. If
# you omit this field, then IAM allows you to overwrite a version 3 policy with
# a version 1 policy, and all of the conditions in the version 3 policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.To learn which resources
# support conditions in their IAM policies, see the IAM documentation (https://
# cloud.google.com/iam/help/conditions/resource-policies).
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -2721,16 +2654,8 @@ module Google
# Required. The queries to execute. You do not need to terminate a query with a
# semicolon. Multiple queries can be specified in one string by separating each
# with a semicolon. Here is an example of an Cloud Dataproc API snippet that
# uses a QueryList to specify a HiveJob:
# "hiveJob": `
# "queryList": `
# "queries": [
# "query1",
# "query2",
# "query3;query4",
# ]
# `
# `
# uses a QueryList to specify a HiveJob: "hiveJob": ` "queryList": ` "queries": [
# "query1", "query2", "query3;query4", ] ` `
# Corresponds to the JSON property `queries`
# @return [Array<String>]
attr_accessor :queries
@ -2831,52 +2756,22 @@ module Google
# condition can add constraints based on attributes of the request, the resource,
# or both. To learn which resources support conditions in their IAM policies,
# see the IAM documentation (https://cloud.google.com/iam/help/conditions/
# resource-policies).JSON example:
# `
# "bindings": [
# `
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
# "user:mike@example.com",
# "group:admins@example.com",
# "domain:google.com",
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ]
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
# `
# `
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# `
# YAML example:
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin
# - members:
# - user:eve@example.com
# role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the IAM documentation (https://
# cloud.google.com/iam/docs/).
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
# title": "expirable access", "description": "Does not grant access after Sep
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` YAML example: bindings: - members:
# - user:mike@example.com - group:admins@example.com - domain:google.com -
# serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
# roles/resourcemanager.organizationViewer condition: title: expirable access
# description: Does not grant access after Sep 2020 expression: request.time <
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
# description of IAM and its features, see the IAM documentation (https://cloud.
# google.com/iam/docs/).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::DataprocV1beta2::Policy]
attr_accessor :policy
@ -2912,17 +2807,12 @@ module Google
# Optional. The properties to set on daemon config files.Property keys are
# specified in prefix:property format, for example core:hadoop.tmp.dir. The
# following are supported prefixes and their mappings:
# capacity-scheduler: capacity-scheduler.xml
# core: core-site.xml
# distcp: distcp-default.xml
# hdfs: hdfs-site.xml
# hive: hive-site.xml
# mapred: mapred-site.xml
# pig: pig.properties
# spark: spark-defaults.conf
# yarn: yarn-site.xmlFor more information, see Cluster properties (https://cloud.
# google.com/dataproc/docs/concepts/cluster-properties).
# following are supported prefixes and their mappings: capacity-scheduler:
# capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs:
# hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: pig.properties
# spark: spark-defaults.conf yarn: yarn-site.xmlFor more information, see
# Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-
# properties).
# Corresponds to the JSON property `properties`
# @return [Hash<String,String>]
attr_accessor :properties
@ -3275,34 +3165,22 @@ module Google
# similar in syntax to a google.protobuf.FieldMask. For example, a field path
# that references the zone field of a workflow template's cluster selector would
# be specified as placement.clusterSelector.zone.Also, field paths can reference
# fields using the following syntax:
# Values in maps can be referenced by key:
# labels'key'
# placement.clusterSelector.clusterLabels'key'
# placement.managedCluster.labels'key'
# placement.clusterSelector.clusterLabels'key'
# jobs'step-id'.labels'key'
# Jobs in the jobs list can be referenced by step-id:
# jobs'step-id'.hadoopJob.mainJarFileUri
# jobs'step-id'.hiveJob.queryFileUri
# jobs'step-id'.pySparkJob.mainPythonFileUri
# jobs'step-id'.hadoopJob.jarFileUris0
# jobs'step-id'.hadoopJob.archiveUris0
# jobs'step-id'.hadoopJob.fileUris0
# jobs'step-id'.pySparkJob.pythonFileUris0
# Items in repeated fields can be referenced by a zero-based index:
# jobs'step-id'.sparkJob.args0
# Other examples:
# jobs'step-id'.hadoopJob.properties'key'
# jobs'step-id'.hadoopJob.args0
# jobs'step-id'.hiveJob.scriptVariables'key'
# jobs'step-id'.hadoopJob.mainJarFileUri
# placement.clusterSelector.zoneIt may not be possible to parameterize maps and
# repeated fields in their entirety since only individual map values and
# individual items in repeated fields can be referenced. For example, the
# following field paths are invalid:
# placement.clusterSelector.clusterLabels
# jobs'step-id'.sparkJob.args
# fields using the following syntax: Values in maps can be referenced by key:
# labels'key' placement.clusterSelector.clusterLabels'key' placement.
# managedCluster.labels'key' placement.clusterSelector.clusterLabels'key' jobs'
# step-id'.labels'key' Jobs in the jobs list can be referenced by step-id: jobs'
# step-id'.hadoopJob.mainJarFileUri jobs'step-id'.hiveJob.queryFileUri jobs'step-
# id'.pySparkJob.mainPythonFileUri jobs'step-id'.hadoopJob.jarFileUris0 jobs'
# step-id'.hadoopJob.archiveUris0 jobs'step-id'.hadoopJob.fileUris0 jobs'step-id'
# .pySparkJob.pythonFileUris0 Items in repeated fields can be referenced by a
# zero-based index: jobs'step-id'.sparkJob.args0 Other examples: jobs'step-id'.
# hadoopJob.properties'key' jobs'step-id'.hadoopJob.args0 jobs'step-id'.hiveJob.
# scriptVariables'key' jobs'step-id'.hadoopJob.mainJarFileUri placement.
# clusterSelector.zoneIt may not be possible to parameterize maps and repeated
# fields in their entirety since only individual map values and individual items
# in repeated fields can be referenced. For example, the following field paths
# are invalid: placement.clusterSelector.clusterLabels jobs'step-id'.sparkJob.
# args
# Corresponds to the JSON property `fields`
# @return [Array<String>]
attr_accessor :fields
@ -3431,14 +3309,14 @@ module Google
# @return [Google::Apis::DataprocV1beta2::ClusterOperation]
attr_accessor :create_cluster
# Output only. DAG end time, only set for workflows with dag_timeout when DAG
# ends.
# Output only. DAG end time, which is only set for workflows with dag_timeout
# when the DAG ends.
# Corresponds to the JSON property `dagEndTime`
# @return [String]
attr_accessor :dag_end_time
# Output only. DAG start time, only set for workflows with dag_timeout when DAG
# begins.
# Output only. DAG start time, which is only set for workflows with dag_timeout
# when the DAG begins.
# Corresponds to the JSON property `dagStartTime`
# @return [String]
attr_accessor :dag_start_time
@ -3481,12 +3359,11 @@ module Google
attr_accessor :state
# Output only. The resource name of the workflow template as described in https:/
# /cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# /cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates, the resource name of the template has the following format:
# projects/`project_id`/regions/`region`/workflowTemplates/`template_id` For
# projects.locations.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# Corresponds to the JSON property `template`
# @return [String]
@ -3572,8 +3449,13 @@ module Google
# @return [String]
attr_accessor :create_time
# Optional. Timeout for DAG of jobs. The timer begins when the first job is
# submitted. Minimum duration of 10 minutes, max of 24 hours.
# Optional. Timeout duration for the DAG of jobs. You can use "s", "m", "h", and
# "d" suffixes for second, minute, hour, and day duration values, respectively.
# The timeout duration must be from 10 minutes ("10m") to 24 hours ("24h" or "1d"
# ). The timer begins when the first job is submitted. If the workflow is
# running at the end of the timeout period, any remaining jobs are cancelled,
# the workflow is terminated, and if the workflow was running on a managed
# cluster, the cluster is deleted.
# Corresponds to the JSON property `dagTimeout`
# @return [String]
attr_accessor :dag_timeout
@ -3601,12 +3483,11 @@ module Google
attr_accessor :labels
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates, the resource name of the template has the following format:
# projects/`project_id`/regions/`region`/workflowTemplates/`template_id` For
# projects.locations.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# Corresponds to the JSON property `name`
# @return [String]
@ -3686,10 +3567,10 @@ module Google
end
end
# A YARN application created by a job. Application information is a subset of <
# code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>.
# Beta Feature: This report is available for testing purposes only. It may be
# changed before final release.
# A YARN application created by a job. Application information is a subset of
# org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.Beta Feature:
# This report is available for testing purposes only. It may be changed before
# final release.
class YarnApplication
include Google::Apis::Core::Hashable

View File

@ -50,11 +50,11 @@ module Google
# Creates new autoscaling policy.
# @param [String] parent
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.create, the resource name has the
# following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.create, the resource name has the
# following format: projects/`project_id`/locations/`location`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.create, the resource name has the following format:
# projects/`project_id`/regions/`region` For projects.locations.
# autoscalingPolicies.create, the resource name has the following format:
# projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -89,10 +89,9 @@ module Google
# that is in use by one or more clusters.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.delete, the resource name of the policy has the following
# format: projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
@ -126,10 +125,9 @@ module Google
# Retrieves autoscaling policy.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.get, the resource name of the policy
# has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.get, the resource name of the policy has the following
# format: projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.get, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
@ -203,11 +201,11 @@ module Google
# Lists autoscaling policies in the project.
# @param [String] parent
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.list, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.list, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# autoscalingPolicies.list, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response. Must be
# less than or equal to 1000. Defaults to 100.
@ -321,12 +319,11 @@ module Google
# all updates will be full replacements.
# @param [String] name
# Output only. The "resource name" of the autoscaling policy, as described in
# https://cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies, the resource name of the policy
# has the following format: projects/`project_id`/locations/`location`/
# https://cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies, the resource name of the policy has the following format:
# projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id` For
# projects.locations.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
@ -361,11 +358,11 @@ module Google
# Creates new workflow template.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,create, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.create, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,create, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# workflowTemplates.create, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -399,13 +396,12 @@ module Google
# Deletes a workflow template. It does not cancel in-progress workflows.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.delete, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.delete, the resource name of the template has the following
# format: projects/`project_id`/regions/`region`/workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to delete. If specified, will only
# delete the template if the current server version matches specified version.
@ -441,10 +437,9 @@ module Google
# template by specifying optional version parameter.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.get, the resource name of the template
# has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.get, the resource name of the template has the following
# format: projects/`project_id`/regions/`region`/workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.get, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
@ -532,13 +527,12 @@ module Google
# will be Empty.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.instantiate, the resource name of the template has the
# following format: projects/`project_id`/regions/`region`/workflowTemplates/`
# template_id` For projects.locations.workflowTemplates.instantiate, the
# resource name of the template has the following format: projects/`project_id`/
# locations/`location`/workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1beta2::InstantiateWorkflowTemplateRequest] instantiate_workflow_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -582,12 +576,11 @@ module Google
# successful completion, Operation.response will be Empty.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,instantiateinline, the resource name
# of the region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.instantiateinline, the resource name
# of the location has the following format: projects/`project_id`/locations/`
# location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,instantiateinline, the resource name of the region has the
# following format: projects/`project_id`/regions/`region` For projects.
# locations.workflowTemplates.instantiateinline, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] instance_id
# Deprecated. Please use request_id field instead.
@ -632,11 +625,11 @@ module Google
# Lists workflows that match the specified filter in the request.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,list, the resource name of the region
# has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,list, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# workflowTemplates.list, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response.
# @param [String] page_token
@ -749,12 +742,11 @@ module Google
# version that matches the current server version.
# @param [String] name
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates, the resource name of the template has the following format:
# projects/`project_id`/regions/`region`/workflowTemplates/`template_id` For
# projects.locations.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] fields
@ -789,11 +781,11 @@ module Google
# Creates new autoscaling policy.
# @param [String] parent
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.create, the resource name has the
# following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.create, the resource name has the
# following format: projects/`project_id`/locations/`location`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.create, the resource name has the following format:
# projects/`project_id`/regions/`region` For projects.locations.
# autoscalingPolicies.create, the resource name has the following format:
# projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -828,10 +820,9 @@ module Google
# that is in use by one or more clusters.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.delete, the resource name of the policy has the following
# format: projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
@ -865,10 +856,9 @@ module Google
# Retrieves autoscaling policy.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.get, the resource name of the policy
# has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.get, the resource name of the policy has the following
# format: projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.get, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
@ -942,11 +932,11 @@ module Google
# Lists autoscaling policies in the project.
# @param [String] parent
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.list, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies.list, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# autoscalingPolicies.list, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response. Must be
# less than or equal to 1000. Defaults to 100.
@ -1060,12 +1050,11 @@ module Google
# all updates will be full replacements.
# @param [String] name
# Output only. The "resource name" of the autoscaling policy, as described in
# https://cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies, the resource name of the policy
# has the following format: projects/`project_id`/locations/`location`/
# https://cloud.google.com/apis/design/resource_names. For projects.regions.
# autoscalingPolicies, the resource name of the policy has the following format:
# projects/`project_id`/regions/`region`/autoscalingPolicies/`policy_id` For
# projects.locations.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
@ -1401,57 +1390,19 @@ module Google
# Required. Specifies the path, relative to Cluster, of the field to update. For
# example, to change the number of workers in a cluster to 5, the update_mask
# parameter would be specified as config.worker_config.num_instances, and the
# PATCH request body would specify the new value, as follows:
# `
# "config":`
# "workerConfig":`
# "numInstances":"5"
# `
# `
# `
# Similarly, to change the number of preemptible workers in a cluster to 5, the
# update_mask parameter would be config.secondary_worker_config.num_instances,
# and the PATCH request body would be set as follows:
# `
# "config":`
# "secondaryWorkerConfig":`
# "numInstances":"5"
# `
# `
# `
# <strong>Note:</strong> currently only the following fields can be updated:
# <table>
# <tr>
# <td><strong>Mask</strong></td><td><strong>Purpose</strong></td>
# </tr>
# <tr>
# <td>labels</td><td>Updates labels</td>
# </tr>
# <tr>
# <td>config.worker_config.num_instances</td><td>Resize primary worker
# group</td>
# </tr>
# <tr>
# <td>config.secondary_worker_config.num_instances</td><td>Resize secondary
# worker group</td>
# </tr>
# <tr>
# <td>config.lifecycle_config.auto_delete_ttl</td><td>Reset MAX TTL
# duration</td>
# </tr>
# <tr>
# <td>config.lifecycle_config.auto_delete_time</td><td>Update MAX TTL
# deletion timestamp</td>
# </tr>
# <tr>
# <td>config.lifecycle_config.idle_delete_ttl</td><td>Update Idle TTL
# duration</td>
# </tr>
# <tr>
# <td>config.autoscaling_config.policy_uri</td><td>Use, stop using, or change
# autoscaling policies</td>
# </tr>
# </table>
# PATCH request body would specify the new value, as follows: ` "config":` "
# workerConfig":` "numInstances":"5" ` ` ` Similarly, to change the number of
# preemptible workers in a cluster to 5, the update_mask parameter would be
# config.secondary_worker_config.num_instances, and the PATCH request body would
# be set as follows: ` "config":` "secondaryWorkerConfig":` "numInstances":"5" `
# ` ` *Note:* currently only the following fields can be updated: *Mask* *
# Purpose* labels Updates labels config.worker_config.num_instances Resize
# primary worker group config.secondary_worker_config.num_instances Resize
# secondary worker group config.lifecycle_config.auto_delete_ttl Reset MAX TTL
# duration config.lifecycle_config.auto_delete_time Update MAX TTL deletion
# timestamp config.lifecycle_config.idle_delete_ttl Update Idle TTL duration
# config.autoscaling_config.policy_uri Use, stop using, or change autoscaling
# policies
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1860,11 +1811,10 @@ module Google
# Required. The job ID.
# @param [Google::Apis::DataprocV1beta2::Job] job_object
# @param [String] update_mask
# Required. Specifies the path, relative to <code>Job</code>, of the field to
# update. For example, to update the labels of a Job the <code>update_mask</code>
# parameter would be specified as <code>labels</code>, and the PATCH request
# body would specify the new value. <strong>Note:</strong> Currently, <code>
# labels</code> is the only field that can be updated.
# Required. Specifies the path, relative to Job, of the field to update. For
# example, to update the labels of a Job the update_mask parameter would be
# specified as labels, and the PATCH request body would specify the new value. *
# Note:* Currently, labels is the only field that can be updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2307,11 +2257,11 @@ module Google
# Creates new workflow template.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,create, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.create, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,create, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# workflowTemplates.create, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2345,13 +2295,12 @@ module Google
# Deletes a workflow template. It does not cancel in-progress workflows.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.delete, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.delete, the resource name of the template has the following
# format: projects/`project_id`/regions/`region`/workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to delete. If specified, will only
# delete the template if the current server version matches specified version.
@ -2387,10 +2336,9 @@ module Google
# template by specifying optional version parameter.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.get, the resource name of the template
# has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.get, the resource name of the template has the following
# format: projects/`project_id`/regions/`region`/workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.get, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
@ -2478,13 +2426,12 @@ module Google
# will be Empty.
# @param [String] name
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates.instantiate, the resource name of the template has the
# following format: projects/`project_id`/regions/`region`/workflowTemplates/`
# template_id` For projects.locations.workflowTemplates.instantiate, the
# resource name of the template has the following format: projects/`project_id`/
# locations/`location`/workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1beta2::InstantiateWorkflowTemplateRequest] instantiate_workflow_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2528,12 +2475,11 @@ module Google
# successful completion, Operation.response will be Empty.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,instantiateinline, the resource name
# of the region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.instantiateinline, the resource name
# of the location has the following format: projects/`project_id`/locations/`
# location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,instantiateinline, the resource name of the region has the
# following format: projects/`project_id`/regions/`region` For projects.
# locations.workflowTemplates.instantiateinline, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] instance_id
# Deprecated. Please use request_id field instead.
@ -2578,11 +2524,11 @@ module Google
# Lists workflows that match the specified filter in the request.
# @param [String] parent
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,list, the resource name of the region
# has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates,list, the resource name of the region has the following
# format: projects/`project_id`/regions/`region` For projects.locations.
# workflowTemplates.list, the resource name of the location has the following
# format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response.
# @param [String] page_token
@ -2695,12 +2641,11 @@ module Google
# version that matches the current server version.
# @param [String] name
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# //cloud.google.com/apis/design/resource_names. For projects.regions.
# workflowTemplates, the resource name of the template has the following format:
# projects/`project_id`/regions/`region`/workflowTemplates/`template_id` For
# projects.locations.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] fields

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1
VERSION = 'V1'
REVISION = '20200220'
REVISION = '20200723'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -82,7 +82,7 @@ module Google
end
# Request to fetch stored inventory sources, campaigns, insertion orders, line
# items, TrueView ad groups and ads.
# items, YouTube ad groups and ads.
class DownloadRequest
include Google::Apis::Core::Hashable

View File

@ -51,7 +51,8 @@ module Google
@batch_path = 'batch/doubleclickbidmanager/v1'
end
# Retrieves line items in CSV format. TrueView line items are not supported.
# Retrieves line items in CSV format. YouTube & partners line items are not
# supported.
# @param [Google::Apis::DoubleclickbidmanagerV1::DownloadLineItemsRequest] download_line_items_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -84,7 +85,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Uploads line items in CSV format. TrueView line items are not supported.
# Uploads line items in CSV format. YouTube & partners line items are not
# supported.
# @param [Google::Apis::DoubleclickbidmanagerV1::UploadLineItemsRequest] upload_line_items_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1_1
VERSION = 'V1_1'
REVISION = '20200616'
REVISION = '20200723'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -22,6 +22,60 @@ module Google
module Apis
module DoubleclickbidmanagerV1_1
# A channel grouping defines a set of rules that can be used to categorize
# events in a path report.
class ChannelGrouping
include Google::Apis::Core::Hashable
# The name to apply to an event that does not match any of the rules in the
# channel grouping.
# Corresponds to the JSON property `fallbackName`
# @return [String]
attr_accessor :fallback_name
# Channel Grouping name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Rules within Channel Grouping. There is a limit of 100 rules that can be set
# per channel grouping.
# Corresponds to the JSON property `rules`
# @return [Array<Google::Apis::DoubleclickbidmanagerV1_1::Rule>]
attr_accessor :rules
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@fallback_name = args[:fallback_name] if args.key?(:fallback_name)
@name = args[:name] if args.key?(:name)
@rules = args[:rules] if args.key?(:rules)
end
end
# DisjunctiveMatchStatement that OR's all contained filters.
class DisjunctiveMatchStatement
include Google::Apis::Core::Hashable
# Filters. There is a limit of 100 filters that can be set per disjunctive match
# statement.
# Corresponds to the JSON property `eventFilters`
# @return [Array<Google::Apis::DoubleclickbidmanagerV1_1::EventFilter>]
attr_accessor :event_filters
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@event_filters = args[:event_filters] if args.key?(:event_filters)
end
end
# Request to fetch stored line items.
class DownloadLineItemsRequest
include Google::Apis::Core::Hashable
@ -82,7 +136,7 @@ module Google
end
# Request to fetch stored inventory sources, campaigns, insertion orders, line
# items, TrueView ad groups and ads.
# items, YouTube ad groups and ads.
class DownloadRequest
include Google::Apis::Core::Hashable
@ -179,6 +233,26 @@ module Google
end
end
# Defines the type of filter to be applied to the path, a DV360 event dimension
# filter.
class EventFilter
include Google::Apis::Core::Hashable
# Dimension Filter for a Path Filter.
# Corresponds to the JSON property `dimensionFilter`
# @return [Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptionsFilter]
attr_accessor :dimension_filter
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
end
end
# Filter used to match traffic data in your report.
class FilterPair
include Google::Apis::Core::Hashable
@ -280,6 +354,11 @@ module Google
attr_accessor :include_only_targeted_user_lists
alias_method :include_only_targeted_user_lists?, :include_only_targeted_user_lists
# Path Query Options for Report Options.
# Corresponds to the JSON property `pathQueryOptions`
# @return [Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptions]
attr_accessor :path_query_options
def initialize(**args)
update!(**args)
end
@ -287,6 +366,7 @@ module Google
# Update properties of this object
def update!(**args)
@include_only_targeted_user_lists = args[:include_only_targeted_user_lists] if args.key?(:include_only_targeted_user_lists)
@path_query_options = args[:path_query_options] if args.key?(:path_query_options)
end
end
@ -340,6 +420,94 @@ module Google
end
end
# Path filters specify which paths to include in a report. A path is the result
# of combining DV360 events based on User ID to create a workflow of users'
# actions.
# When a path filter is set, the resulting report will only include paths that
# match the specified event at the specified position. All other paths will be
# excluded.
class PathFilter
include Google::Apis::Core::Hashable
# Filter on an event to be applied to some part of the path.
# Corresponds to the JSON property `eventFilters`
# @return [Array<Google::Apis::DoubleclickbidmanagerV1_1::EventFilter>]
attr_accessor :event_filters
# Indicates the position of the path the filter should match to (first, last, or
# any event in path).
# Corresponds to the JSON property `pathMatchPosition`
# @return [String]
attr_accessor :path_match_position
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@event_filters = args[:event_filters] if args.key?(:event_filters)
@path_match_position = args[:path_match_position] if args.key?(:path_match_position)
end
end
# Path Query Options for Report Options.
class PathQueryOptions
include Google::Apis::Core::Hashable
# A channel grouping defines a set of rules that can be used to categorize
# events in a path report.
# Corresponds to the JSON property `channelGrouping`
# @return [Google::Apis::DoubleclickbidmanagerV1_1::ChannelGrouping]
attr_accessor :channel_grouping
# Path Filters. There is a limit of 100 path filters that can be set per report.
# Corresponds to the JSON property `pathFilters`
# @return [Array<Google::Apis::DoubleclickbidmanagerV1_1::PathFilter>]
attr_accessor :path_filters
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@channel_grouping = args[:channel_grouping] if args.key?(:channel_grouping)
@path_filters = args[:path_filters] if args.key?(:path_filters)
end
end
# Dimension Filter for a Path Filter.
class PathQueryOptionsFilter
include Google::Apis::Core::Hashable
# Dimension the filter is applied to.
# Corresponds to the JSON property `filter`
# @return [String]
attr_accessor :filter
# Indicates how the filter should be matched to the value.
# Corresponds to the JSON property `match`
# @return [String]
attr_accessor :match
# Value to filter on.
# Corresponds to the JSON property `values`
# @return [Array<String>]
attr_accessor :values
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@filter = args[:filter] if args.key?(:filter)
@match = args[:match] if args.key?(:match)
@values = args[:values] if args.key?(:values)
end
end
# Represents a query.
class Query
include Google::Apis::Core::Hashable
@ -738,6 +906,33 @@ module Google
end
end
# A Rule defines a name, and a boolean expression in [conjunctive normal form](
# http://mathworld.wolfram.com/ConjunctiveNormalForm.html)`.external` that can
# be applied to a path event to determine if that name should be applied.
class Rule
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `disjunctiveMatchStatements`
# @return [Array<Google::Apis::DoubleclickbidmanagerV1_1::DisjunctiveMatchStatement>]
attr_accessor :disjunctive_match_statements
# Rule name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@disjunctive_match_statements = args[:disjunctive_match_statements] if args.key?(:disjunctive_match_statements)
@name = args[:name] if args.key?(:name)
end
end
# Request to run a stored query to generate a report.
class RunQueryRequest
include Google::Apis::Core::Hashable

View File

@ -22,6 +22,18 @@ module Google
module Apis
module DoubleclickbidmanagerV1_1
class ChannelGrouping
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DisjunctiveMatchStatement
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DownloadLineItemsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -46,6 +58,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class EventFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FilterPair
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -76,6 +94,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PathFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PathQueryOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PathQueryOptionsFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Query
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -130,6 +166,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Rule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RunQueryRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -154,6 +196,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ChannelGrouping
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :fallback_name, as: 'fallbackName'
property :name, as: 'name'
collection :rules, as: 'rules', class: Google::Apis::DoubleclickbidmanagerV1_1::Rule, decorator: Google::Apis::DoubleclickbidmanagerV1_1::Rule::Representation
end
end
class DisjunctiveMatchStatement
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :event_filters, as: 'eventFilters', class: Google::Apis::DoubleclickbidmanagerV1_1::EventFilter, decorator: Google::Apis::DoubleclickbidmanagerV1_1::EventFilter::Representation
end
end
class DownloadLineItemsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -193,6 +253,14 @@ module Google
end
end
class EventFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptionsFilter, decorator: Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptionsFilter::Representation
end
end
class FilterPair
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -225,6 +293,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :include_only_targeted_user_lists, as: 'includeOnlyTargetedUserLists'
property :path_query_options, as: 'pathQueryOptions', class: Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptions, decorator: Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptions::Representation
end
end
@ -242,6 +312,34 @@ module Google
end
end
class PathFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :event_filters, as: 'eventFilters', class: Google::Apis::DoubleclickbidmanagerV1_1::EventFilter, decorator: Google::Apis::DoubleclickbidmanagerV1_1::EventFilter::Representation
property :path_match_position, as: 'pathMatchPosition'
end
end
class PathQueryOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :channel_grouping, as: 'channelGrouping', class: Google::Apis::DoubleclickbidmanagerV1_1::ChannelGrouping, decorator: Google::Apis::DoubleclickbidmanagerV1_1::ChannelGrouping::Representation
collection :path_filters, as: 'pathFilters', class: Google::Apis::DoubleclickbidmanagerV1_1::PathFilter, decorator: Google::Apis::DoubleclickbidmanagerV1_1::PathFilter::Representation
end
end
class PathQueryOptionsFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :filter, as: 'filter'
property :match, as: 'match'
collection :values, as: 'values'
end
end
class Query
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -348,6 +446,15 @@ module Google
end
end
class Rule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :disjunctive_match_statements, as: 'disjunctiveMatchStatements', class: Google::Apis::DoubleclickbidmanagerV1_1::DisjunctiveMatchStatement, decorator: Google::Apis::DoubleclickbidmanagerV1_1::DisjunctiveMatchStatement::Representation
property :name, as: 'name'
end
end
class RunQueryRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -51,7 +51,8 @@ module Google
@batch_path = 'batch/doubleclickbidmanager/v1.1'
end
# Retrieves line items in CSV format. TrueView line items are not supported.
# Retrieves line items in CSV format. YouTube & partners line items are not
# supported.
# @param [Google::Apis::DoubleclickbidmanagerV1_1::DownloadLineItemsRequest] download_line_items_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -84,7 +85,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Uploads line items in CSV format. TrueView line items are not supported.
# Uploads line items in CSV format. YouTube & partners line items are not
# supported.
# @param [Google::Apis::DoubleclickbidmanagerV1_1::UploadLineItemsRequest] upload_line_items_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
REVISION = '20200706'
REVISION = '20200719'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -1344,7 +1344,9 @@ module Google
class ContentRestriction
include Google::Apis::Core::Hashable
# Whether the content of the file is read-only.
# Whether the content of the file is read-only. If a file is read-only, a new
# revision of the file may not be added, comments may not be added or modified,
# and the title of the file may not be modified.
# Corresponds to the JSON property `readOnly`
# @return [Boolean]
attr_accessor :read_only

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV3
VERSION = 'V3'
REVISION = '20200706'
REVISION = '20200719'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -581,7 +581,9 @@ module Google
class ContentRestriction
include Google::Apis::Core::Hashable
# Whether the content of the file is read-only.
# Whether the content of the file is read-only. If a file is read-only, a new
# revision of the file may not be added, comments may not be added or modified,
# and the title of the file may not be modified.
# Corresponds to the JSON property `readOnly`
# @return [Boolean]
attr_accessor :read_only
@ -2491,6 +2493,11 @@ module Google
attr_accessor :published
alias_method :published?, :published
# A link to the published revision.
# Corresponds to the JSON property `publishedLink`
# @return [String]
attr_accessor :published_link
# Whether this revision is published outside the domain. This is only applicable
# to Google Docs.
# Corresponds to the JSON property `publishedOutsideDomain`
@ -2521,6 +2528,7 @@ module Google
@original_filename = args[:original_filename] if args.key?(:original_filename)
@publish_auto = args[:publish_auto] if args.key?(:publish_auto)
@published = args[:published] if args.key?(:published)
@published_link = args[:published_link] if args.key?(:published_link)
@published_outside_domain = args[:published_outside_domain] if args.key?(:published_outside_domain)
@size = args[:size] if args.key?(:size)
end

View File

@ -811,6 +811,7 @@ module Google
property :original_filename, as: 'originalFilename'
property :publish_auto, as: 'publishAuto'
property :published, as: 'published'
property :published_link, as: 'publishedLink'
property :published_outside_domain, as: 'publishedOutsideDomain'
property :size, :numeric_string => true, as: 'size'
end

View File

@ -27,7 +27,7 @@ module Google
# @see https://firebase.google.com/docs/hosting/
module FirebasehostingV1beta1
VERSION = 'V1beta1'
REVISION = '20200709'
REVISION = '20200729'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -0,0 +1,35 @@
# 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/memcache_v1/service.rb'
require 'google/apis/memcache_v1/classes.rb'
require 'google/apis/memcache_v1/representations.rb'
module Google
module Apis
# Cloud Memorystore for Memcached API
#
# Google Cloud Memorystore for Memcached API is used for creating and managing
# Memcached instances in GCP.
#
# @see https://cloud.google.com/memorystore/
module MemcacheV1
VERSION = 'V1'
REVISION = '20200721'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,434 @@
# 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 MemcacheV1
class AuditConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AuditLogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Binding
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 Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Expr
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListLocationsResponse
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 Location
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationMetadata
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 OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetIamPolicyRequest
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 TestIamPermissionsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestIamPermissionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ZoneMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AuditConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::MemcacheV1::AuditLogConfig, decorator: Google::Apis::MemcacheV1::AuditLogConfig::Representation
property :service, as: 'service'
end
end
class AuditLogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exempted_members, as: 'exemptedMembers'
property :log_type, as: 'logType'
end
end
class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :condition, as: 'condition', class: Google::Apis::MemcacheV1::Expr, decorator: Google::Apis::MemcacheV1::Expr::Representation
collection :members, as: 'members'
property :role, as: 'role'
end
end
class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Expr
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :expression, as: 'expression'
property :location, as: 'location'
property :title, as: 'title'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consumer_defined_name, as: 'consumerDefinedName'
property :create_time, as: 'createTime'
hash :labels, as: 'labels'
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
property :name, as: 'name'
hash :producer_metadata, as: 'producerMetadata'
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
property :slm_instance_template, as: 'slmInstanceTemplate'
property :slo_metadata, as: 'sloMetadata', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
hash :software_versions, as: 'softwareVersions'
property :state, as: 'state'
property :tenant_project_id, as: 'tenantProjectId'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :can_reschedule, as: 'canReschedule'
property :end_time, as: 'endTime'
property :rollout_management_policy, as: 'rolloutManagementPolicy'
property :start_time, as: 'startTime'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exclude, as: 'exclude'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
property :location, as: 'location'
property :node_id, as: 'nodeId'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :resource_type, as: 'resourceType'
property :resource_url, as: 'resourceUrl'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :eligible, as: 'eligible'
property :reason, as: 'reason'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration, as: 'duration'
property :reason, as: 'reason'
property :sli_name, as: 'sliName'
property :start_time, as: 'startTime'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :eligibility, as: 'eligibility', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
property :tier, as: 'tier'
end
end
class ListLocationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :locations, as: 'locations', class: Google::Apis::MemcacheV1::Location, decorator: Google::Apis::MemcacheV1::Location::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :operations, as: 'operations', class: Google::Apis::MemcacheV1::Operation, decorator: Google::Apis::MemcacheV1::Operation::Representation
end
end
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
hash :labels, as: 'labels'
property :location_id, as: 'locationId'
hash :metadata, as: 'metadata'
property :name, as: 'name'
end
end
class LocationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :available_zones, as: 'availableZones', class: Google::Apis::MemcacheV1::ZoneMetadata, decorator: Google::Apis::MemcacheV1::ZoneMetadata::Representation
end
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::MemcacheV1::Status, decorator: Google::Apis::MemcacheV1::Status::Representation
hash :metadata, as: 'metadata'
property :name, as: 'name'
hash :response, as: 'response'
end
end
class OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :cancel_requested, as: 'cancelRequested'
property :create_time, as: 'createTime'
property :end_time, as: 'endTime'
property :status_detail, as: 'statusDetail'
property :target, as: 'target'
property :verb, as: 'verb'
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::MemcacheV1::AuditConfig, decorator: Google::Apis::MemcacheV1::AuditConfig::Representation
collection :bindings, as: 'bindings', class: Google::Apis::MemcacheV1::Binding, decorator: Google::Apis::MemcacheV1::Binding::Representation
property :etag, :base64 => true, as: 'etag'
property :version, as: 'version'
end
end
class SetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :policy, as: 'policy', class: Google::Apis::MemcacheV1::Policy, decorator: Google::Apis::MemcacheV1::Policy::Representation
property :update_mask, as: 'updateMask'
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 TestIamPermissionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :permissions, as: 'permissions'
end
end
class TestIamPermissionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :permissions, as: 'permissions'
end
end
class ZoneMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
end
end
end

View File

@ -0,0 +1,402 @@
# 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 MemcacheV1
# Cloud Memorystore for Memcached API
#
# Google Cloud Memorystore for Memcached API is used for creating and managing
# Memcached instances in GCP.
#
# @example
# require 'google/apis/memcache_v1'
#
# Memcache = Google::Apis::MemcacheV1 # Alias the module
# service = Memcache::CloudMemorystoreforMemcachedService.new
#
# @see https://cloud.google.com/memorystore/
class CloudMemorystoreforMemcachedService < 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://memcache.googleapis.com/', '')
@batch_path = 'batch'
end
# Gets information about a location.
# @param [String] name
# Resource name for the location.
# @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::MemcacheV1::Location] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::MemcacheV1::Location]
#
# @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_location(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::MemcacheV1::Location::Representation
command.response_class = Google::Apis::MemcacheV1::Location
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 information about the supported locations for this service.
# @param [String] name
# The resource that owns the locations collection, if applicable.
# @param [String] filter
# The standard list filter.
# @param [Fixnum] page_size
# The standard list page size.
# @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::MemcacheV1::ListLocationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::MemcacheV1::ListLocationsResponse]
#
# @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_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/locations', options)
command.response_representation = Google::Apis::MemcacheV1::ListLocationsResponse::Representation
command.response_class = Google::Apis::MemcacheV1::ListLocationsResponse
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
# Gets the access control policy for a resource.
# Returns an empty policy if the resource exists and does not have a policy
# set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# @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::MemcacheV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::MemcacheV1::Policy]
#
# @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_location_instance_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::MemcacheV1::Policy::Representation
command.response_class = Google::Apis::MemcacheV1::Policy
command.params['resource'] = resource unless resource.nil?
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field.
# @param [Google::Apis::MemcacheV1::SetIamPolicyRequest] set_iam_policy_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::MemcacheV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::MemcacheV1::Policy]
#
# @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 set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::MemcacheV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::MemcacheV1::Policy::Representation
command.response_class = Google::Apis::MemcacheV1::Policy
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# If the resource does not exist, this will return an empty set of
# permissions, not a `NOT_FOUND` error.
# Note: This operation is designed to be used for building permission-aware
# UIs and command-line tools, not for authorization checking. This operation
# may "fail open" without warning.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested.
# See the operation documentation for the appropriate value for this field.
# @param [Google::Apis::MemcacheV1::TestIamPermissionsRequest] test_iam_permissions_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::MemcacheV1::TestIamPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::MemcacheV1::TestIamPermissionsResponse]
#
# @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 test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::MemcacheV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::MemcacheV1::TestIamPermissionsResponse::Representation
command.response_class = Google::Apis::MemcacheV1::TestIamPermissionsResponse
command.params['resource'] = resource unless resource.nil?
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. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
# @param [Google::Apis::MemcacheV1::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::MemcacheV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::MemcacheV1::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, 'v1/{+name}:cancel', options)
command.request_representation = Google::Apis::MemcacheV1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::MemcacheV1::Empty::Representation
command.response_class = Google::Apis::MemcacheV1::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
# Deletes a long-running operation. This method indicates that the client is
# no longer interested in the operation result. It does not cancel the
# operation. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`.
# @param [String] name
# The name of the operation resource to be deleted.
# @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::MemcacheV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::MemcacheV1::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 delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::MemcacheV1::Empty::Representation
command.response_class = Google::Apis::MemcacheV1::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::MemcacheV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::MemcacheV1::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_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::MemcacheV1::Operation::Representation
command.response_class = Google::Apis::MemcacheV1::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. If the
# server doesn't support this method, it returns `UNIMPLEMENTED`.
# NOTE: the `name` binding allows API services to override the binding
# to use different resource name schemes, such as `users/*/operations`. To
# override the binding, API services can add a binding such as
# `"/v1/`name=users/*`/operations"` to their service configuration.
# For backwards compatibility, the default name includes the operations
# collection id, however overriding users must ensure the name binding
# is the parent resource, without the operations collection id.
# @param [String] name
# The name of the operation's parent resource.
# @param [String] filter
# The standard list filter.
# @param [Fixnum] page_size
# The standard list page size.
# @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::MemcacheV1::ListOperationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::MemcacheV1::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_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/operations', options)
command.response_representation = Google::Apis::MemcacheV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::MemcacheV1::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
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

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV1
VERSION = 'V1'
REVISION = '20200720'
REVISION = '20200728'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -310,17 +310,18 @@ module Google
end
end
# A set of (label, value) pairs which were dropped during aggregation, attached
# to google.api.Distribution.Exemplars in google.api.Distribution values during
# aggregation.These values are used in combination with the label values that
# remain on the aggregated Distribution timeseries to construct the full label
# set for the exemplar values. The resulting full label set may be used to
# identify the specific task/job/instance (for example) which may be
# contributing to a long-tail, while allowing the storage savings of only
# storing aggregated distribution values for a large group.Note that there are
# no guarantees on ordering of the labels from exemplar-to-exemplar and from
# distribution-to-distribution in the same stream, and there may be duplicates.
# It is up to clients to resolve any ambiguities.
# A set of (label, value) pairs that were removed from a Distribution time
# series during aggregation and then added as an attachment to a Distribution.
# Exemplar.The full label set for the exemplars is constructed by using the
# dropped pairs in combination with the label values that remain on the
# aggregated Distribution time series. The constructed full label set can be
# used to identify the specific entity, such as the instance or job, which might
# be contributing to a long-tail. However, with dropped labels, the storage
# requirements are reduced because only the aggregated distribution values for a
# large group of time series are stored.Note that there are no guarantees on
# ordering of the labels from exemplar-to-exemplar and from distribution-to-
# distribution in the same stream, and there may be duplicates. It is up to
# clients to resolve any ambiguities.
class DroppedLabels
include Google::Apis::Core::Hashable

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV3
VERSION = 'V3'
REVISION = '20200720'
REVISION = '20200728'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1016,17 +1016,18 @@ module Google
end
end
# A set of (label, value) pairs which were dropped during aggregation, attached
# to google.api.Distribution.Exemplars in google.api.Distribution values during
# aggregation.These values are used in combination with the label values that
# remain on the aggregated Distribution timeseries to construct the full label
# set for the exemplar values. The resulting full label set may be used to
# identify the specific task/job/instance (for example) which may be
# contributing to a long-tail, while allowing the storage savings of only
# storing aggregated distribution values for a large group.Note that there are
# no guarantees on ordering of the labels from exemplar-to-exemplar and from
# distribution-to-distribution in the same stream, and there may be duplicates.
# It is up to clients to resolve any ambiguities.
# A set of (label, value) pairs that were removed from a Distribution time
# series during aggregation and then added as an attachment to a Distribution.
# Exemplar.The full label set for the exemplars is constructed by using the
# dropped pairs in combination with the label values that remain on the
# aggregated Distribution time series. The constructed full label set can be
# used to identify the specific entity, such as the instance or job, which might
# be contributing to a long-tail. However, with dropped labels, the storage
# requirements are reduced because only the aggregated distribution values for a
# large group of time series are stored.Note that there are no guarantees on
# ordering of the labels from exemplar-to-exemplar and from distribution-to-
# distribution in the same stream, and there may be duplicates. It is up to
# clients to resolve any ambiguities.
class DroppedLabels
include Google::Apis::Core::Hashable
@ -2210,9 +2211,9 @@ module Google
# deleting or altering it stops data collection and makes the metric type's
# existing data unusable.The following are specific rules for service defined
# Monitoring metric descriptors:
# type, metric_kind, value_type, description, and display_name fields are all
# required. The unit field must be specified if the value_type is any of DOUBLE,
# INT64, DISTRIBUTION.
# type, metric_kind, value_type and description fields are all required. The
# unit field must be specified if the value_type is any of DOUBLE, INT64,
# DISTRIBUTION.
# Maximum of default 500 metric descriptors per service is allowed.
# Maximum of default 10 labels per metric descriptor is allowed.The default
# maximum limit can be overridden. Please follow https://cloud.google.com/
@ -3672,6 +3673,13 @@ module Google
# @return [Google::Apis::MonitoringV3::MonitoredResource]
attr_accessor :resource
# The units in which the metric value is reported. It is only applicable if the
# value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the
# representation of the stored metric values.
# Corresponds to the JSON property `unit`
# @return [String]
attr_accessor :unit
# The value type of the time series. When listing time series, this value type
# might be different from the value type of the associated metric if this time
# series is an alignment or reduction of other time series.When creating a time
@ -3692,6 +3700,7 @@ module Google
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
@points = args[:points] if args.key?(:points)
@resource = args[:resource] if args.key?(:resource)
@unit = args[:unit] if args.key?(:unit)
@value_type = args[:value_type] if args.key?(:value_type)
end
end
@ -4101,6 +4110,13 @@ module Google
# @return [String]
attr_accessor :metric_kind
# The unit in which time_series point values are reported. unit follows the UCUM
# format for units as seen in https://unitsofmeasure.org/ucum.html. unit is only
# valid if value_type is INTEGER, DOUBLE, DISTRIBUTION.
# Corresponds to the JSON property `unit`
# @return [String]
attr_accessor :unit
# The value type.
# Corresponds to the JSON property `valueType`
# @return [String]
@ -4114,6 +4130,7 @@ module Google
def update!(**args)
@key = args[:key] if args.key?(:key)
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
@unit = args[:unit] if args.key?(:unit)
@value_type = args[:value_type] if args.key?(:value_type)
end
end

View File

@ -1455,6 +1455,7 @@ module Google
property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
property :unit, as: 'unit'
property :value_type, as: 'valueType'
end
end
@ -1561,6 +1562,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :metric_kind, as: 'metricKind'
property :unit, as: 'unit'
property :value_type, as: 'valueType'
end
end

View File

@ -28,10 +28,7 @@ module Google
# @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
module RealtimebiddingV1
VERSION = 'V1'
REVISION = '20200720'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
REVISION = '20200730'
# See, create, edit, and delete your Authorized Buyers and Open Bidding account entities
AUTH_REALTIME_BIDDING = 'https://www.googleapis.com/auth/realtime-bidding'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/
module RunV1
VERSION = 'V1'
REVISION = '20200720'
REVISION = '20200727'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -123,8 +123,8 @@ module Google
# @return [String]
attr_accessor :id
# Read only. Full path to the `AuthorizedDomain` resource in the API. Example: `
# apps/myapp/authorizedDomains/example.com`.
# Deprecated Read only. Full path to the `AuthorizedDomain` resource in the API.
# Example: `projects/myproject/authorizedDomains/example.com`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -221,7 +221,7 @@ module Google
# List authorized domains.
# @param [String] parent
# Name of the parent Application resource. Example: `apps/myapp`.
# Name of the parent Project resource. Example: `projects/myproject`.
# @param [Fixnum] page_size
# Maximum results to return per page.
# @param [String] page_token
@ -927,6 +927,42 @@ module Google
execute_or_queue_command(command, &block)
end
# List authorized domains.
# @param [String] parent
# Name of the parent Project resource. Example: `projects/myproject`.
# @param [Fixnum] page_size
# Maximum results to return per page.
# @param [String] page_token
# Continuation token for fetching the next page of results.
# @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::RunV1::ListAuthorizedDomainsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::ListAuthorizedDomainsResponse]
#
# @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_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/authorizeddomains', options)
command.response_representation = Google::Apis::RunV1::ListAuthorizedDomainsResponse::Representation
command.response_class = Google::Apis::RunV1::ListAuthorizedDomainsResponse
command.params['parent'] = parent unless parent.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
# Lists information about the supported locations for this service.
# @param [String] name
# The resource that owns the locations collection, if applicable.
@ -968,7 +1004,7 @@ module Google
# List authorized domains.
# @param [String] parent
# Name of the parent Application resource. Example: `apps/myapp`.
# Name of the parent Project resource. Example: `projects/myproject`.
# @param [Fixnum] page_size
# Maximum results to return per page.
# @param [String] page_token

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/
module ServicemanagementV1
VERSION = 'V1'
REVISION = '20200710'
REVISION = '20200727'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2566,7 +2566,7 @@ module Google
# existing data unusable.
# The following are specific rules for service defined Monitoring metric
# descriptors:
# * `type`, `metric_kind`, `value_type`, `description`, and `display_name`
# * `type`, `metric_kind`, `value_type` and `description`
# fields are all required. The `unit` field must be specified
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
# * Maximum of default 500 metric descriptors per service is allowed.
@ -3652,6 +3652,54 @@ module Google
end
end
# Defines a proto annotation that describes a string field that refers to
# an API resource.
class ResourceReference
include Google::Apis::Core::Hashable
# The resource type of a child collection that the annotated field
# references. This is useful for annotating the `parent` field that
# doesn't have a fixed resource type.
# Example:
# message ListLogEntriesRequest `
# string parent = 1 [(google.api.resource_reference) = `
# child_type: "logging.googleapis.com/LogEntry"
# `;
# `
# Corresponds to the JSON property `childType`
# @return [String]
attr_accessor :child_type
# The resource type that the annotated field references.
# Example:
# message Subscription `
# string topic = 2 [(google.api.resource_reference) = `
# type: "pubsub.googleapis.com/Topic"
# `];
# `
# Occasionally, a field may reference an arbitrary resource. In this case,
# APIs use the special value * in their resource reference.
# Example:
# message GetIamPolicyRequest `
# string resource = 2 [(google.api.resource_reference) = `
# type: "*"
# `];
# `
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@child_type = args[:child_type] if args.key?(:child_type)
@type = args[:type] if args.key?(:type)
end
end
# A rollout resource that defines how service configuration versions are pushed
# to control plane systems. Typically, you create a new version of the
# service config, and then create a Rollout to push the service config.

View File

@ -442,6 +442,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ResourceReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Rollout
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1253,6 +1259,14 @@ module Google
end
end
class ResourceReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :child_type, as: 'childType'
property :type, as: 'type'
end
end
class Rollout
# @private
class Representation < Google::Apis::Core::JsonRepresentation