Autogenerated update (2018-05-05)

Update:
- admin_directory_v1
- cloudiot_v1
- cloudtasks_v2beta2
- compute_alpha
- compute_beta
- compute_v1
- serviceusage_v1beta1
This commit is contained in:
Google APIs 2018-05-05 00:36:19 +00:00
parent ef248bdeb8
commit 1210eab5c7
29 changed files with 8645 additions and 6409 deletions

View File

@ -2611,6 +2611,7 @@
"/admin:directory_v1/Roles/kind": kind "/admin:directory_v1/Roles/kind": kind
"/admin:directory_v1/Roles/nextPageToken": next_page_token "/admin:directory_v1/Roles/nextPageToken": next_page_token
"/admin:directory_v1/Schema": schema "/admin:directory_v1/Schema": schema
"/admin:directory_v1/Schema/displayName": display_name
"/admin:directory_v1/Schema/etag": etag "/admin:directory_v1/Schema/etag": etag
"/admin:directory_v1/Schema/fields": fields "/admin:directory_v1/Schema/fields": fields
"/admin:directory_v1/Schema/fields/field": field "/admin:directory_v1/Schema/fields/field": field
@ -2618,6 +2619,7 @@
"/admin:directory_v1/Schema/schemaId": schema_id "/admin:directory_v1/Schema/schemaId": schema_id
"/admin:directory_v1/Schema/schemaName": schema_name "/admin:directory_v1/Schema/schemaName": schema_name
"/admin:directory_v1/SchemaFieldSpec": schema_field_spec "/admin:directory_v1/SchemaFieldSpec": schema_field_spec
"/admin:directory_v1/SchemaFieldSpec/displayName": display_name
"/admin:directory_v1/SchemaFieldSpec/etag": etag "/admin:directory_v1/SchemaFieldSpec/etag": etag
"/admin:directory_v1/SchemaFieldSpec/fieldId": field_id "/admin:directory_v1/SchemaFieldSpec/fieldId": field_id
"/admin:directory_v1/SchemaFieldSpec/fieldName": field_name "/admin:directory_v1/SchemaFieldSpec/fieldName": field_name
@ -2800,6 +2802,7 @@
"/admin:directory_v1/UserPosixAccount/gecos": gecos "/admin:directory_v1/UserPosixAccount/gecos": gecos
"/admin:directory_v1/UserPosixAccount/gid": gid "/admin:directory_v1/UserPosixAccount/gid": gid
"/admin:directory_v1/UserPosixAccount/homeDirectory": home_directory "/admin:directory_v1/UserPosixAccount/homeDirectory": home_directory
"/admin:directory_v1/UserPosixAccount/operatingSystemType": operating_system_type
"/admin:directory_v1/UserPosixAccount/primary": primary "/admin:directory_v1/UserPosixAccount/primary": primary
"/admin:directory_v1/UserPosixAccount/shell": shell "/admin:directory_v1/UserPosixAccount/shell": shell
"/admin:directory_v1/UserPosixAccount/systemId": system_id "/admin:directory_v1/UserPosixAccount/systemId": system_id
@ -2916,7 +2919,10 @@
"/admin:directory_v1/directory.groups.list/customer": customer "/admin:directory_v1/directory.groups.list/customer": customer
"/admin:directory_v1/directory.groups.list/domain": domain "/admin:directory_v1/directory.groups.list/domain": domain
"/admin:directory_v1/directory.groups.list/maxResults": max_results "/admin:directory_v1/directory.groups.list/maxResults": max_results
"/admin:directory_v1/directory.groups.list/orderBy": order_by
"/admin:directory_v1/directory.groups.list/pageToken": page_token "/admin:directory_v1/directory.groups.list/pageToken": page_token
"/admin:directory_v1/directory.groups.list/query": query
"/admin:directory_v1/directory.groups.list/sortOrder": sort_order
"/admin:directory_v1/directory.groups.list/userKey": user_key "/admin:directory_v1/directory.groups.list/userKey": user_key
"/admin:directory_v1/directory.groups.patch": patch_group "/admin:directory_v1/directory.groups.patch": patch_group
"/admin:directory_v1/directory.groups.patch/groupKey": group_key "/admin:directory_v1/directory.groups.patch/groupKey": group_key
@ -2935,6 +2941,7 @@
"/admin:directory_v1/directory.members.insert/groupKey": group_key "/admin:directory_v1/directory.members.insert/groupKey": group_key
"/admin:directory_v1/directory.members.list": list_members "/admin:directory_v1/directory.members.list": list_members
"/admin:directory_v1/directory.members.list/groupKey": group_key "/admin:directory_v1/directory.members.list/groupKey": group_key
"/admin:directory_v1/directory.members.list/includeDerivedMembership": include_derived_membership
"/admin:directory_v1/directory.members.list/maxResults": max_results "/admin:directory_v1/directory.members.list/maxResults": max_results
"/admin:directory_v1/directory.members.list/pageToken": page_token "/admin:directory_v1/directory.members.list/pageToken": page_token
"/admin:directory_v1/directory.members.list/roles": roles "/admin:directory_v1/directory.members.list/roles": roles
@ -13762,6 +13769,13 @@
"/cloudiot:v1/X509CertificateDetails/signatureAlgorithm": signature_algorithm "/cloudiot:v1/X509CertificateDetails/signatureAlgorithm": signature_algorithm
"/cloudiot:v1/X509CertificateDetails/startTime": start_time "/cloudiot:v1/X509CertificateDetails/startTime": start_time
"/cloudiot:v1/X509CertificateDetails/subject": subject "/cloudiot:v1/X509CertificateDetails/subject": subject
"/cloudiot:v1/cloudiot.projects.locations.groups.devices.list": list_project_location_group_devices
"/cloudiot:v1/cloudiot.projects.locations.groups.devices.list/deviceIds": device_ids
"/cloudiot:v1/cloudiot.projects.locations.groups.devices.list/deviceNumIds": device_num_ids
"/cloudiot:v1/cloudiot.projects.locations.groups.devices.list/fieldMask": field_mask
"/cloudiot:v1/cloudiot.projects.locations.groups.devices.list/pageSize": page_size
"/cloudiot:v1/cloudiot.projects.locations.groups.devices.list/pageToken": page_token
"/cloudiot:v1/cloudiot.projects.locations.groups.devices.list/parent": parent
"/cloudiot:v1/cloudiot.projects.locations.registries.create": create_project_location_registry "/cloudiot:v1/cloudiot.projects.locations.registries.create": create_project_location_registry
"/cloudiot:v1/cloudiot.projects.locations.registries.create/parent": parent "/cloudiot:v1/cloudiot.projects.locations.registries.create/parent": parent
"/cloudiot:v1/cloudiot.projects.locations.registries.delete": delete_project_location_registry "/cloudiot:v1/cloudiot.projects.locations.registries.delete": delete_project_location_registry
@ -13795,6 +13809,28 @@
"/cloudiot:v1/cloudiot.projects.locations.registries.get/name": name "/cloudiot:v1/cloudiot.projects.locations.registries.get/name": name
"/cloudiot:v1/cloudiot.projects.locations.registries.getIamPolicy": get_registry_iam_policy "/cloudiot:v1/cloudiot.projects.locations.registries.getIamPolicy": get_registry_iam_policy
"/cloudiot:v1/cloudiot.projects.locations.registries.getIamPolicy/resource": resource "/cloudiot:v1/cloudiot.projects.locations.registries.getIamPolicy/resource": resource
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.configVersions.list": list_project_location_registry_group_device_config_versions
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.configVersions.list/name": name
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.configVersions.list/numVersions": num_versions
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.delete": delete_project_location_registry_group_device
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.delete/name": name
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.get": get_project_location_registry_group_device
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.get/fieldMask": field_mask
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.get/name": name
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.modifyCloudToDeviceConfig": modify_project_location_registry_group_device_cloud_to_device_config
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.modifyCloudToDeviceConfig/name": name
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.patch": patch_project_location_registry_group_device
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.patch/name": name
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.patch/updateMask": update_mask
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.states.list": list_project_location_registry_group_device_states
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.states.list/name": name
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.devices.states.list/numStates": num_states
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.getIamPolicy": get_group_iam_policy
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.getIamPolicy/resource": resource
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.setIamPolicy": set_group_iam_policy
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.setIamPolicy/resource": resource
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.testIamPermissions": test_group_iam_permissions
"/cloudiot:v1/cloudiot.projects.locations.registries.groups.testIamPermissions/resource": resource
"/cloudiot:v1/cloudiot.projects.locations.registries.list": list_project_location_registries "/cloudiot:v1/cloudiot.projects.locations.registries.list": list_project_location_registries
"/cloudiot:v1/cloudiot.projects.locations.registries.list/pageSize": page_size "/cloudiot:v1/cloudiot.projects.locations.registries.list/pageSize": page_size
"/cloudiot:v1/cloudiot.projects.locations.registries.list/pageToken": page_token "/cloudiot:v1/cloudiot.projects.locations.registries.list/pageToken": page_token
@ -16803,6 +16839,8 @@
"/compute:alpha/Disk/region": region "/compute:alpha/Disk/region": region
"/compute:alpha/Disk/replicaZones": replica_zones "/compute:alpha/Disk/replicaZones": replica_zones
"/compute:alpha/Disk/replicaZones/replica_zone": replica_zone "/compute:alpha/Disk/replicaZones/replica_zone": replica_zone
"/compute:alpha/Disk/resourcePolicies": resource_policies
"/compute:alpha/Disk/resourcePolicies/resource_policy": resource_policy
"/compute:alpha/Disk/selfLink": self_link "/compute:alpha/Disk/selfLink": self_link
"/compute:alpha/Disk/sizeGb": size_gb "/compute:alpha/Disk/sizeGb": size_gb
"/compute:alpha/Disk/sourceImage": source_image "/compute:alpha/Disk/sourceImage": source_image
@ -16903,6 +16941,12 @@
"/compute:alpha/DiskTypesScopedList/warning/data/datum/key": key "/compute:alpha/DiskTypesScopedList/warning/data/datum/key": key
"/compute:alpha/DiskTypesScopedList/warning/data/datum/value": value "/compute:alpha/DiskTypesScopedList/warning/data/datum/value": value
"/compute:alpha/DiskTypesScopedList/warning/message": message "/compute:alpha/DiskTypesScopedList/warning/message": message
"/compute:alpha/DisksAddResourcePoliciesRequest": disks_add_resource_policies_request
"/compute:alpha/DisksAddResourcePoliciesRequest/resourcePolicies": resource_policies
"/compute:alpha/DisksAddResourcePoliciesRequest/resourcePolicies/resource_policy": resource_policy
"/compute:alpha/DisksRemoveResourcePoliciesRequest": disks_remove_resource_policies_request
"/compute:alpha/DisksRemoveResourcePoliciesRequest/resourcePolicies": resource_policies
"/compute:alpha/DisksRemoveResourcePoliciesRequest/resourcePolicies/resource_policy": resource_policy
"/compute:alpha/DisksResizeRequest": disks_resize_request "/compute:alpha/DisksResizeRequest": disks_resize_request
"/compute:alpha/DisksResizeRequest/sizeGb": size_gb "/compute:alpha/DisksResizeRequest/sizeGb": size_gb
"/compute:alpha/DisksScopedList": disks_scoped_list "/compute:alpha/DisksScopedList": disks_scoped_list
@ -17393,6 +17437,8 @@
"/compute:alpha/Instance/networkInterfaces": network_interfaces "/compute:alpha/Instance/networkInterfaces": network_interfaces
"/compute:alpha/Instance/networkInterfaces/network_interface": network_interface "/compute:alpha/Instance/networkInterfaces/network_interface": network_interface
"/compute:alpha/Instance/preservedStateSizeGb": preserved_state_size_gb "/compute:alpha/Instance/preservedStateSizeGb": preserved_state_size_gb
"/compute:alpha/Instance/resourcePolicies": resource_policies
"/compute:alpha/Instance/resourcePolicies/resource_policy": resource_policy
"/compute:alpha/Instance/scheduling": scheduling "/compute:alpha/Instance/scheduling": scheduling
"/compute:alpha/Instance/selfLink": self_link "/compute:alpha/Instance/selfLink": self_link
"/compute:alpha/Instance/serviceAccounts": service_accounts "/compute:alpha/Instance/serviceAccounts": service_accounts
@ -17553,6 +17599,7 @@
"/compute:alpha/InstanceGroupManagerStatefulPolicyDiskPolicy": instance_group_manager_stateful_policy_disk_policy "/compute:alpha/InstanceGroupManagerStatefulPolicyDiskPolicy": instance_group_manager_stateful_policy_disk_policy
"/compute:alpha/InstanceGroupManagerStatefulPolicyDiskPolicy/deviceName": device_name "/compute:alpha/InstanceGroupManagerStatefulPolicyDiskPolicy/deviceName": device_name
"/compute:alpha/InstanceGroupManagerUpdatePolicy": instance_group_manager_update_policy "/compute:alpha/InstanceGroupManagerUpdatePolicy": instance_group_manager_update_policy
"/compute:alpha/InstanceGroupManagerUpdatePolicy/instanceRedistributionType": instance_redistribution_type
"/compute:alpha/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge "/compute:alpha/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge
"/compute:alpha/InstanceGroupManagerUpdatePolicy/maxUnavailable": max_unavailable "/compute:alpha/InstanceGroupManagerUpdatePolicy/maxUnavailable": max_unavailable
"/compute:alpha/InstanceGroupManagerUpdatePolicy/minReadySec": min_ready_sec "/compute:alpha/InstanceGroupManagerUpdatePolicy/minReadySec": min_ready_sec
@ -17740,9 +17787,15 @@
"/compute:alpha/InstancesAddMaintenancePoliciesRequest": instances_add_maintenance_policies_request "/compute:alpha/InstancesAddMaintenancePoliciesRequest": instances_add_maintenance_policies_request
"/compute:alpha/InstancesAddMaintenancePoliciesRequest/maintenancePolicies": maintenance_policies "/compute:alpha/InstancesAddMaintenancePoliciesRequest/maintenancePolicies": maintenance_policies
"/compute:alpha/InstancesAddMaintenancePoliciesRequest/maintenancePolicies/maintenance_policy": maintenance_policy "/compute:alpha/InstancesAddMaintenancePoliciesRequest/maintenancePolicies/maintenance_policy": maintenance_policy
"/compute:alpha/InstancesAddResourcePoliciesRequest": instances_add_resource_policies_request
"/compute:alpha/InstancesAddResourcePoliciesRequest/resourcePolicies": resource_policies
"/compute:alpha/InstancesAddResourcePoliciesRequest/resourcePolicies/resource_policy": resource_policy
"/compute:alpha/InstancesRemoveMaintenancePoliciesRequest": instances_remove_maintenance_policies_request "/compute:alpha/InstancesRemoveMaintenancePoliciesRequest": instances_remove_maintenance_policies_request
"/compute:alpha/InstancesRemoveMaintenancePoliciesRequest/maintenancePolicies": maintenance_policies "/compute:alpha/InstancesRemoveMaintenancePoliciesRequest/maintenancePolicies": maintenance_policies
"/compute:alpha/InstancesRemoveMaintenancePoliciesRequest/maintenancePolicies/maintenance_policy": maintenance_policy "/compute:alpha/InstancesRemoveMaintenancePoliciesRequest/maintenancePolicies/maintenance_policy": maintenance_policy
"/compute:alpha/InstancesRemoveResourcePoliciesRequest": instances_remove_resource_policies_request
"/compute:alpha/InstancesRemoveResourcePoliciesRequest/resourcePolicies": resource_policies
"/compute:alpha/InstancesRemoveResourcePoliciesRequest/resourcePolicies/resource_policy": resource_policy
"/compute:alpha/InstancesResumeRequest": instances_resume_request "/compute:alpha/InstancesResumeRequest": instances_resume_request
"/compute:alpha/InstancesResumeRequest/disks": disks "/compute:alpha/InstancesResumeRequest/disks": disks
"/compute:alpha/InstancesResumeRequest/disks/disk": disk "/compute:alpha/InstancesResumeRequest/disks/disk": disk
@ -18287,6 +18340,8 @@
"/compute:alpha/NetworkList/warning/message": message "/compute:alpha/NetworkList/warning/message": message
"/compute:alpha/NetworkPeering": network_peering "/compute:alpha/NetworkPeering": network_peering
"/compute:alpha/NetworkPeering/autoCreateRoutes": auto_create_routes "/compute:alpha/NetworkPeering/autoCreateRoutes": auto_create_routes
"/compute:alpha/NetworkPeering/exportCustomRoutes": export_custom_routes
"/compute:alpha/NetworkPeering/importCustomRoutes": import_custom_routes
"/compute:alpha/NetworkPeering/name": name "/compute:alpha/NetworkPeering/name": name
"/compute:alpha/NetworkPeering/network": network "/compute:alpha/NetworkPeering/network": network
"/compute:alpha/NetworkPeering/state": state "/compute:alpha/NetworkPeering/state": state
@ -18295,6 +18350,8 @@
"/compute:alpha/NetworkRoutingConfig/routingMode": routing_mode "/compute:alpha/NetworkRoutingConfig/routingMode": routing_mode
"/compute:alpha/NetworksAddPeeringRequest": networks_add_peering_request "/compute:alpha/NetworksAddPeeringRequest": networks_add_peering_request
"/compute:alpha/NetworksAddPeeringRequest/autoCreateRoutes": auto_create_routes "/compute:alpha/NetworksAddPeeringRequest/autoCreateRoutes": auto_create_routes
"/compute:alpha/NetworksAddPeeringRequest/exportCustomRoutes": export_custom_routes
"/compute:alpha/NetworksAddPeeringRequest/importCustomRoutes": import_custom_routes
"/compute:alpha/NetworksAddPeeringRequest/name": name "/compute:alpha/NetworksAddPeeringRequest/name": name
"/compute:alpha/NetworksAddPeeringRequest/peerNetwork": peer_network "/compute:alpha/NetworksAddPeeringRequest/peerNetwork": peer_network
"/compute:alpha/NetworksRemovePeeringRequest": networks_remove_peering_request "/compute:alpha/NetworksRemovePeeringRequest": networks_remove_peering_request
@ -18766,6 +18823,93 @@
"/compute:alpha/ResourceCommitment/type": type "/compute:alpha/ResourceCommitment/type": type
"/compute:alpha/ResourceGroupReference": resource_group_reference "/compute:alpha/ResourceGroupReference": resource_group_reference
"/compute:alpha/ResourceGroupReference/group": group "/compute:alpha/ResourceGroupReference/group": group
"/compute:alpha/ResourcePoliciesList": resource_policies_list
"/compute:alpha/ResourcePoliciesList/etag": etag
"/compute:alpha/ResourcePoliciesList/id": id
"/compute:alpha/ResourcePoliciesList/items": items
"/compute:alpha/ResourcePoliciesList/items/item": item
"/compute:alpha/ResourcePoliciesList/kind": kind
"/compute:alpha/ResourcePoliciesList/nextPageToken": next_page_token
"/compute:alpha/ResourcePoliciesList/selfLink": self_link
"/compute:alpha/ResourcePoliciesList/warning": warning
"/compute:alpha/ResourcePoliciesList/warning/code": code
"/compute:alpha/ResourcePoliciesList/warning/data": data
"/compute:alpha/ResourcePoliciesList/warning/data/datum": datum
"/compute:alpha/ResourcePoliciesList/warning/data/datum/key": key
"/compute:alpha/ResourcePoliciesList/warning/data/datum/value": value
"/compute:alpha/ResourcePoliciesList/warning/message": message
"/compute:alpha/ResourcePoliciesScopedList": resource_policies_scoped_list
"/compute:alpha/ResourcePoliciesScopedList/resourcePolicies": resource_policies
"/compute:alpha/ResourcePoliciesScopedList/resourcePolicies/resource_policy": resource_policy
"/compute:alpha/ResourcePoliciesScopedList/warning": warning
"/compute:alpha/ResourcePoliciesScopedList/warning/code": code
"/compute:alpha/ResourcePoliciesScopedList/warning/data": data
"/compute:alpha/ResourcePoliciesScopedList/warning/data/datum": datum
"/compute:alpha/ResourcePoliciesScopedList/warning/data/datum/key": key
"/compute:alpha/ResourcePoliciesScopedList/warning/data/datum/value": value
"/compute:alpha/ResourcePoliciesScopedList/warning/message": message
"/compute:alpha/ResourcePolicy": resource_policy
"/compute:alpha/ResourcePolicy/backupSchedulePolicy": backup_schedule_policy
"/compute:alpha/ResourcePolicy/creationTimestamp": creation_timestamp
"/compute:alpha/ResourcePolicy/description": description
"/compute:alpha/ResourcePolicy/id": id
"/compute:alpha/ResourcePolicy/kind": kind
"/compute:alpha/ResourcePolicy/name": name
"/compute:alpha/ResourcePolicy/region": region
"/compute:alpha/ResourcePolicy/selfLink": self_link
"/compute:alpha/ResourcePolicy/vmMaintenancePolicy": vm_maintenance_policy
"/compute:alpha/ResourcePolicyAggregatedList": resource_policy_aggregated_list
"/compute:alpha/ResourcePolicyAggregatedList/etag": etag
"/compute:alpha/ResourcePolicyAggregatedList/id": id
"/compute:alpha/ResourcePolicyAggregatedList/items": items
"/compute:alpha/ResourcePolicyAggregatedList/items/item": item
"/compute:alpha/ResourcePolicyAggregatedList/kind": kind
"/compute:alpha/ResourcePolicyAggregatedList/nextPageToken": next_page_token
"/compute:alpha/ResourcePolicyAggregatedList/selfLink": self_link
"/compute:alpha/ResourcePolicyAggregatedList/warning": warning
"/compute:alpha/ResourcePolicyAggregatedList/warning/code": code
"/compute:alpha/ResourcePolicyAggregatedList/warning/data": data
"/compute:alpha/ResourcePolicyAggregatedList/warning/data/datum": datum
"/compute:alpha/ResourcePolicyAggregatedList/warning/data/datum/key": key
"/compute:alpha/ResourcePolicyAggregatedList/warning/data/datum/value": value
"/compute:alpha/ResourcePolicyAggregatedList/warning/message": message
"/compute:alpha/ResourcePolicyBackupSchedulePolicy": resource_policy_backup_schedule_policy
"/compute:alpha/ResourcePolicyBackupSchedulePolicy/retentionPolicy": retention_policy
"/compute:alpha/ResourcePolicyBackupSchedulePolicy/schedule": schedule
"/compute:alpha/ResourcePolicyBackupSchedulePolicy/snapshotProperties": snapshot_properties
"/compute:alpha/ResourcePolicyBackupSchedulePolicyRetentionPolicy": resource_policy_backup_schedule_policy_retention_policy
"/compute:alpha/ResourcePolicyBackupSchedulePolicyRetentionPolicy/maxRetentionDays": max_retention_days
"/compute:alpha/ResourcePolicyBackupSchedulePolicySchedule": resource_policy_backup_schedule_policy_schedule
"/compute:alpha/ResourcePolicyBackupSchedulePolicySchedule/dailySchedule": daily_schedule
"/compute:alpha/ResourcePolicyBackupSchedulePolicySchedule/hourlySchedule": hourly_schedule
"/compute:alpha/ResourcePolicyBackupSchedulePolicySchedule/weeklySchedule": weekly_schedule
"/compute:alpha/ResourcePolicyBackupSchedulePolicySnapshotProperties": resource_policy_backup_schedule_policy_snapshot_properties
"/compute:alpha/ResourcePolicyBackupSchedulePolicySnapshotProperties/guestFlush": guest_flush
"/compute:alpha/ResourcePolicyBackupSchedulePolicySnapshotProperties/labels": labels
"/compute:alpha/ResourcePolicyBackupSchedulePolicySnapshotProperties/labels/label": label
"/compute:alpha/ResourcePolicyBackupSchedulePolicySnapshotProperties/storageLocations": storage_locations
"/compute:alpha/ResourcePolicyBackupSchedulePolicySnapshotProperties/storageLocations/storage_location": storage_location
"/compute:alpha/ResourcePolicyDailyCycle": resource_policy_daily_cycle
"/compute:alpha/ResourcePolicyDailyCycle/daysInCycle": days_in_cycle
"/compute:alpha/ResourcePolicyDailyCycle/duration": duration
"/compute:alpha/ResourcePolicyDailyCycle/startTime": start_time
"/compute:alpha/ResourcePolicyHourlyCycle": resource_policy_hourly_cycle
"/compute:alpha/ResourcePolicyHourlyCycle/duration": duration
"/compute:alpha/ResourcePolicyHourlyCycle/hoursInCycle": hours_in_cycle
"/compute:alpha/ResourcePolicyHourlyCycle/startTime": start_time
"/compute:alpha/ResourcePolicyVmMaintenancePolicy": resource_policy_vm_maintenance_policy
"/compute:alpha/ResourcePolicyVmMaintenancePolicy/maintenanceEnvironment": maintenance_environment
"/compute:alpha/ResourcePolicyVmMaintenancePolicy/maintenanceWindow": maintenance_window
"/compute:alpha/ResourcePolicyVmMaintenancePolicyMaintenanceWindow": resource_policy_vm_maintenance_policy_maintenance_window
"/compute:alpha/ResourcePolicyVmMaintenancePolicyMaintenanceWindow/dailyMaintenanceWindow": daily_maintenance_window
"/compute:alpha/ResourcePolicyVmMaintenancePolicyMaintenanceWindow/weeklyMaintenanceWindow": weekly_maintenance_window
"/compute:alpha/ResourcePolicyWeeklyCycle": resource_policy_weekly_cycle
"/compute:alpha/ResourcePolicyWeeklyCycle/dayOfWeeks": day_of_weeks
"/compute:alpha/ResourcePolicyWeeklyCycle/dayOfWeeks/day_of_week": day_of_week
"/compute:alpha/ResourcePolicyWeeklyCycleDayOfWeek": resource_policy_weekly_cycle_day_of_week
"/compute:alpha/ResourcePolicyWeeklyCycleDayOfWeek/day": day
"/compute:alpha/ResourcePolicyWeeklyCycleDayOfWeek/duration": duration
"/compute:alpha/ResourcePolicyWeeklyCycleDayOfWeek/startTime": start_time
"/compute:alpha/Route": route "/compute:alpha/Route": route
"/compute:alpha/Route/creationTimestamp": creation_timestamp "/compute:alpha/Route/creationTimestamp": creation_timestamp
"/compute:alpha/Route/description": description "/compute:alpha/Route/description": description
@ -18775,6 +18919,7 @@
"/compute:alpha/Route/name": name "/compute:alpha/Route/name": name
"/compute:alpha/Route/network": network "/compute:alpha/Route/network": network
"/compute:alpha/Route/nextHopGateway": next_hop_gateway "/compute:alpha/Route/nextHopGateway": next_hop_gateway
"/compute:alpha/Route/nextHopIlb": next_hop_ilb
"/compute:alpha/Route/nextHopInstance": next_hop_instance "/compute:alpha/Route/nextHopInstance": next_hop_instance
"/compute:alpha/Route/nextHopIp": next_hop_ip "/compute:alpha/Route/nextHopIp": next_hop_ip
"/compute:alpha/Route/nextHopNetwork": next_hop_network "/compute:alpha/Route/nextHopNetwork": next_hop_network
@ -19056,6 +19201,7 @@
"/compute:alpha/SignedUrlKey/keyName": key_name "/compute:alpha/SignedUrlKey/keyName": key_name
"/compute:alpha/SignedUrlKey/keyValue": key_value "/compute:alpha/SignedUrlKey/keyValue": key_value
"/compute:alpha/Snapshot": snapshot "/compute:alpha/Snapshot": snapshot
"/compute:alpha/Snapshot/autoCreated": auto_created
"/compute:alpha/Snapshot/creationTimestamp": creation_timestamp "/compute:alpha/Snapshot/creationTimestamp": creation_timestamp
"/compute:alpha/Snapshot/description": description "/compute:alpha/Snapshot/description": description
"/compute:alpha/Snapshot/diskSizeGb": disk_size_gb "/compute:alpha/Snapshot/diskSizeGb": disk_size_gb
@ -19645,7 +19791,12 @@
"/compute:alpha/UsableSubnetwork": usable_subnetwork "/compute:alpha/UsableSubnetwork": usable_subnetwork
"/compute:alpha/UsableSubnetwork/ipCidrRange": ip_cidr_range "/compute:alpha/UsableSubnetwork/ipCidrRange": ip_cidr_range
"/compute:alpha/UsableSubnetwork/network": network "/compute:alpha/UsableSubnetwork/network": network
"/compute:alpha/UsableSubnetwork/secondaryIpRanges": secondary_ip_ranges
"/compute:alpha/UsableSubnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range
"/compute:alpha/UsableSubnetwork/subnetwork": subnetwork "/compute:alpha/UsableSubnetwork/subnetwork": subnetwork
"/compute:alpha/UsableSubnetworkSecondaryRange": usable_subnetwork_secondary_range
"/compute:alpha/UsableSubnetworkSecondaryRange/ipCidrRange": ip_cidr_range
"/compute:alpha/UsableSubnetworkSecondaryRange/rangeName": range_name
"/compute:alpha/UsableSubnetworksAggregatedList": usable_subnetworks_aggregated_list "/compute:alpha/UsableSubnetworksAggregatedList": usable_subnetworks_aggregated_list
"/compute:alpha/UsableSubnetworksAggregatedList/id": id "/compute:alpha/UsableSubnetworksAggregatedList/id": id
"/compute:alpha/UsableSubnetworksAggregatedList/items": items "/compute:alpha/UsableSubnetworksAggregatedList/items": items
@ -19976,6 +20127,11 @@
"/compute:alpha/compute.diskTypes.list/pageToken": page_token "/compute:alpha/compute.diskTypes.list/pageToken": page_token
"/compute:alpha/compute.diskTypes.list/project": project "/compute:alpha/compute.diskTypes.list/project": project
"/compute:alpha/compute.diskTypes.list/zone": zone "/compute:alpha/compute.diskTypes.list/zone": zone
"/compute:alpha/compute.disks.addResourcePolicies": add_disk_resource_policies
"/compute:alpha/compute.disks.addResourcePolicies/disk": disk
"/compute:alpha/compute.disks.addResourcePolicies/project": project
"/compute:alpha/compute.disks.addResourcePolicies/requestId": request_id
"/compute:alpha/compute.disks.addResourcePolicies/zone": zone
"/compute:alpha/compute.disks.aggregatedList": aggregated_disk_list "/compute:alpha/compute.disks.aggregatedList": aggregated_disk_list
"/compute:alpha/compute.disks.aggregatedList/filter": filter "/compute:alpha/compute.disks.aggregatedList/filter": filter
"/compute:alpha/compute.disks.aggregatedList/maxResults": max_results "/compute:alpha/compute.disks.aggregatedList/maxResults": max_results
@ -20013,6 +20169,11 @@
"/compute:alpha/compute.disks.list/pageToken": page_token "/compute:alpha/compute.disks.list/pageToken": page_token
"/compute:alpha/compute.disks.list/project": project "/compute:alpha/compute.disks.list/project": project
"/compute:alpha/compute.disks.list/zone": zone "/compute:alpha/compute.disks.list/zone": zone
"/compute:alpha/compute.disks.removeResourcePolicies": remove_disk_resource_policies
"/compute:alpha/compute.disks.removeResourcePolicies/disk": disk
"/compute:alpha/compute.disks.removeResourcePolicies/project": project
"/compute:alpha/compute.disks.removeResourcePolicies/requestId": request_id
"/compute:alpha/compute.disks.removeResourcePolicies/zone": zone
"/compute:alpha/compute.disks.resize": resize_disk "/compute:alpha/compute.disks.resize": resize_disk
"/compute:alpha/compute.disks.resize/disk": disk "/compute:alpha/compute.disks.resize/disk": disk
"/compute:alpha/compute.disks.resize/project": project "/compute:alpha/compute.disks.resize/project": project
@ -20173,6 +20334,9 @@
"/compute:alpha/compute.globalOperations.list/orderBy": order_by "/compute:alpha/compute.globalOperations.list/orderBy": order_by
"/compute:alpha/compute.globalOperations.list/pageToken": page_token "/compute:alpha/compute.globalOperations.list/pageToken": page_token
"/compute:alpha/compute.globalOperations.list/project": project "/compute:alpha/compute.globalOperations.list/project": project
"/compute:alpha/compute.globalOperations.wait": wait_global_operation
"/compute:alpha/compute.globalOperations.wait/operation": operation
"/compute:alpha/compute.globalOperations.wait/project": project
"/compute:alpha/compute.healthChecks.aggregatedList": aggregated_health_check_list "/compute:alpha/compute.healthChecks.aggregatedList": aggregated_health_check_list
"/compute:alpha/compute.healthChecks.aggregatedList/filter": filter "/compute:alpha/compute.healthChecks.aggregatedList/filter": filter
"/compute:alpha/compute.healthChecks.aggregatedList/maxResults": max_results "/compute:alpha/compute.healthChecks.aggregatedList/maxResults": max_results
@ -20544,6 +20708,11 @@
"/compute:alpha/compute.instances.addMaintenancePolicies/project": project "/compute:alpha/compute.instances.addMaintenancePolicies/project": project
"/compute:alpha/compute.instances.addMaintenancePolicies/requestId": request_id "/compute:alpha/compute.instances.addMaintenancePolicies/requestId": request_id
"/compute:alpha/compute.instances.addMaintenancePolicies/zone": zone "/compute:alpha/compute.instances.addMaintenancePolicies/zone": zone
"/compute:alpha/compute.instances.addResourcePolicies": add_instance_resource_policies
"/compute:alpha/compute.instances.addResourcePolicies/instance": instance
"/compute:alpha/compute.instances.addResourcePolicies/project": project
"/compute:alpha/compute.instances.addResourcePolicies/requestId": request_id
"/compute:alpha/compute.instances.addResourcePolicies/zone": zone
"/compute:alpha/compute.instances.aggregatedList": aggregated_instance_list "/compute:alpha/compute.instances.aggregatedList": aggregated_instance_list
"/compute:alpha/compute.instances.aggregatedList/filter": filter "/compute:alpha/compute.instances.aggregatedList/filter": filter
"/compute:alpha/compute.instances.aggregatedList/maxResults": max_results "/compute:alpha/compute.instances.aggregatedList/maxResults": max_results
@ -20618,6 +20787,11 @@
"/compute:alpha/compute.instances.removeMaintenancePolicies/project": project "/compute:alpha/compute.instances.removeMaintenancePolicies/project": project
"/compute:alpha/compute.instances.removeMaintenancePolicies/requestId": request_id "/compute:alpha/compute.instances.removeMaintenancePolicies/requestId": request_id
"/compute:alpha/compute.instances.removeMaintenancePolicies/zone": zone "/compute:alpha/compute.instances.removeMaintenancePolicies/zone": zone
"/compute:alpha/compute.instances.removeResourcePolicies": remove_instance_resource_policies
"/compute:alpha/compute.instances.removeResourcePolicies/instance": instance
"/compute:alpha/compute.instances.removeResourcePolicies/project": project
"/compute:alpha/compute.instances.removeResourcePolicies/requestId": request_id
"/compute:alpha/compute.instances.removeResourcePolicies/zone": zone
"/compute:alpha/compute.instances.reset": reset_instance "/compute:alpha/compute.instances.reset": reset_instance
"/compute:alpha/compute.instances.reset/instance": instance "/compute:alpha/compute.instances.reset/instance": instance
"/compute:alpha/compute.instances.reset/project": project "/compute:alpha/compute.instances.reset/project": project
@ -21495,6 +21669,10 @@
"/compute:alpha/compute.regionOperations.list/pageToken": page_token "/compute:alpha/compute.regionOperations.list/pageToken": page_token
"/compute:alpha/compute.regionOperations.list/project": project "/compute:alpha/compute.regionOperations.list/project": project
"/compute:alpha/compute.regionOperations.list/region": region "/compute:alpha/compute.regionOperations.list/region": region
"/compute:alpha/compute.regionOperations.wait": wait_region_operation
"/compute:alpha/compute.regionOperations.wait/operation": operation
"/compute:alpha/compute.regionOperations.wait/project": project
"/compute:alpha/compute.regionOperations.wait/region": region
"/compute:alpha/compute.regionTargetHttpProxies.delete": delete_region_target_http_proxy "/compute:alpha/compute.regionTargetHttpProxies.delete": delete_region_target_http_proxy
"/compute:alpha/compute.regionTargetHttpProxies.delete/project": project "/compute:alpha/compute.regionTargetHttpProxies.delete/project": project
"/compute:alpha/compute.regionTargetHttpProxies.delete/region": region "/compute:alpha/compute.regionTargetHttpProxies.delete/region": region
@ -21571,6 +21749,44 @@
"/compute:alpha/compute.regions.list/orderBy": order_by "/compute:alpha/compute.regions.list/orderBy": order_by
"/compute:alpha/compute.regions.list/pageToken": page_token "/compute:alpha/compute.regions.list/pageToken": page_token
"/compute:alpha/compute.regions.list/project": project "/compute:alpha/compute.regions.list/project": project
"/compute:alpha/compute.resourcePolicies.aggregatedList": aggregated_resource_policy_list
"/compute:alpha/compute.resourcePolicies.aggregatedList/filter": filter
"/compute:alpha/compute.resourcePolicies.aggregatedList/maxResults": max_results
"/compute:alpha/compute.resourcePolicies.aggregatedList/orderBy": order_by
"/compute:alpha/compute.resourcePolicies.aggregatedList/pageToken": page_token
"/compute:alpha/compute.resourcePolicies.aggregatedList/project": project
"/compute:alpha/compute.resourcePolicies.delete": delete_resource_policy
"/compute:alpha/compute.resourcePolicies.delete/project": project
"/compute:alpha/compute.resourcePolicies.delete/region": region
"/compute:alpha/compute.resourcePolicies.delete/requestId": request_id
"/compute:alpha/compute.resourcePolicies.delete/resourcePolicy": resource_policy
"/compute:alpha/compute.resourcePolicies.get": get_resource_policy
"/compute:alpha/compute.resourcePolicies.get/project": project
"/compute:alpha/compute.resourcePolicies.get/region": region
"/compute:alpha/compute.resourcePolicies.get/resourcePolicy": resource_policy
"/compute:alpha/compute.resourcePolicies.getIamPolicy": get_resource_policy_iam_policy
"/compute:alpha/compute.resourcePolicies.getIamPolicy/project": project
"/compute:alpha/compute.resourcePolicies.getIamPolicy/region": region
"/compute:alpha/compute.resourcePolicies.getIamPolicy/resource": resource
"/compute:alpha/compute.resourcePolicies.insert": insert_resource_policy
"/compute:alpha/compute.resourcePolicies.insert/project": project
"/compute:alpha/compute.resourcePolicies.insert/region": region
"/compute:alpha/compute.resourcePolicies.insert/requestId": request_id
"/compute:alpha/compute.resourcePolicies.list": list_resource_policies
"/compute:alpha/compute.resourcePolicies.list/filter": filter
"/compute:alpha/compute.resourcePolicies.list/maxResults": max_results
"/compute:alpha/compute.resourcePolicies.list/orderBy": order_by
"/compute:alpha/compute.resourcePolicies.list/pageToken": page_token
"/compute:alpha/compute.resourcePolicies.list/project": project
"/compute:alpha/compute.resourcePolicies.list/region": region
"/compute:alpha/compute.resourcePolicies.setIamPolicy": set_resource_policy_iam_policy
"/compute:alpha/compute.resourcePolicies.setIamPolicy/project": project
"/compute:alpha/compute.resourcePolicies.setIamPolicy/region": region
"/compute:alpha/compute.resourcePolicies.setIamPolicy/resource": resource
"/compute:alpha/compute.resourcePolicies.testIamPermissions": test_resource_policy_iam_permissions
"/compute:alpha/compute.resourcePolicies.testIamPermissions/project": project
"/compute:alpha/compute.resourcePolicies.testIamPermissions/region": region
"/compute:alpha/compute.resourcePolicies.testIamPermissions/resource": resource
"/compute:alpha/compute.routers.aggregatedList": aggregated_router_list "/compute:alpha/compute.routers.aggregatedList": aggregated_router_list
"/compute:alpha/compute.routers.aggregatedList/filter": filter "/compute:alpha/compute.routers.aggregatedList/filter": filter
"/compute:alpha/compute.routers.aggregatedList/maxResults": max_results "/compute:alpha/compute.routers.aggregatedList/maxResults": max_results
@ -22146,6 +22362,10 @@
"/compute:alpha/compute.zoneOperations.list/pageToken": page_token "/compute:alpha/compute.zoneOperations.list/pageToken": page_token
"/compute:alpha/compute.zoneOperations.list/project": project "/compute:alpha/compute.zoneOperations.list/project": project
"/compute:alpha/compute.zoneOperations.list/zone": zone "/compute:alpha/compute.zoneOperations.list/zone": zone
"/compute:alpha/compute.zoneOperations.wait": wait_zone_operation
"/compute:alpha/compute.zoneOperations.wait/operation": operation
"/compute:alpha/compute.zoneOperations.wait/project": project
"/compute:alpha/compute.zoneOperations.wait/zone": zone
"/compute:alpha/compute.zones.get": get_zone "/compute:alpha/compute.zones.get": get_zone
"/compute:alpha/compute.zones.get/project": project "/compute:alpha/compute.zones.get/project": project
"/compute:alpha/compute.zones.get/zone": zone "/compute:alpha/compute.zones.get/zone": zone
@ -62407,6 +62627,115 @@
"/qpxExpress:v1/qpxExpress.trips.search": search_trips "/qpxExpress:v1/qpxExpress.trips.search": search_trips
"/qpxExpress:v1/quotaUser": quota_user "/qpxExpress:v1/quotaUser": quota_user
"/qpxExpress:v1/userIp": user_ip "/qpxExpress:v1/userIp": user_ip
"/redis:v1beta1/GoogleCloudCommonOperationMetadata": google_cloud_common_operation_metadata
"/redis:v1beta1/GoogleCloudCommonOperationMetadata/apiVersion": api_version
"/redis:v1beta1/GoogleCloudCommonOperationMetadata/cancelRequested": cancel_requested
"/redis:v1beta1/GoogleCloudCommonOperationMetadata/createTime": create_time
"/redis:v1beta1/GoogleCloudCommonOperationMetadata/endTime": end_time
"/redis:v1beta1/GoogleCloudCommonOperationMetadata/statusDetail": status_detail
"/redis:v1beta1/GoogleCloudCommonOperationMetadata/target": target
"/redis:v1beta1/GoogleCloudCommonOperationMetadata/verb": verb
"/redis:v1beta1/GoogleCloudRedisV1beta1LocationMetadata": google_cloud_redis_v1beta1_location_metadata
"/redis:v1beta1/GoogleCloudRedisV1beta1LocationMetadata/availableZones": available_zones
"/redis:v1beta1/GoogleCloudRedisV1beta1LocationMetadata/availableZones/available_zone": available_zone
"/redis:v1beta1/GoogleCloudRedisV1beta1ZoneMetadata": google_cloud_redis_v1beta1_zone_metadata
"/redis:v1beta1/Instance": instance
"/redis:v1beta1/Instance/alternativeLocationId": alternative_location_id
"/redis:v1beta1/Instance/authorizedNetwork": authorized_network
"/redis:v1beta1/Instance/createTime": create_time
"/redis:v1beta1/Instance/currentLocationId": current_location_id
"/redis:v1beta1/Instance/displayName": display_name
"/redis:v1beta1/Instance/host": host
"/redis:v1beta1/Instance/labels": labels
"/redis:v1beta1/Instance/labels/label": label
"/redis:v1beta1/Instance/locationId": location_id
"/redis:v1beta1/Instance/memorySizeGb": memory_size_gb
"/redis:v1beta1/Instance/name": name
"/redis:v1beta1/Instance/port": port
"/redis:v1beta1/Instance/redisConfigs": redis_configs
"/redis:v1beta1/Instance/redisConfigs/redis_config": redis_config
"/redis:v1beta1/Instance/redisVersion": redis_version
"/redis:v1beta1/Instance/reservedIpRange": reserved_ip_range
"/redis:v1beta1/Instance/state": state
"/redis:v1beta1/Instance/statusMessage": status_message
"/redis:v1beta1/Instance/tier": tier
"/redis:v1beta1/ListInstancesResponse": list_instances_response
"/redis:v1beta1/ListInstancesResponse/instances": instances
"/redis:v1beta1/ListInstancesResponse/instances/instance": instance
"/redis:v1beta1/ListInstancesResponse/nextPageToken": next_page_token
"/redis:v1beta1/ListLocationsResponse": list_locations_response
"/redis:v1beta1/ListLocationsResponse/locations": locations
"/redis:v1beta1/ListLocationsResponse/locations/location": location
"/redis:v1beta1/ListLocationsResponse/nextPageToken": next_page_token
"/redis:v1beta1/ListOperationsResponse": list_operations_response
"/redis:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
"/redis:v1beta1/ListOperationsResponse/operations": operations
"/redis:v1beta1/ListOperationsResponse/operations/operation": operation
"/redis:v1beta1/Location": location
"/redis:v1beta1/Location/displayName": display_name
"/redis:v1beta1/Location/labels": labels
"/redis:v1beta1/Location/labels/label": label
"/redis:v1beta1/Location/locationId": location_id
"/redis:v1beta1/Location/metadata": metadata
"/redis:v1beta1/Location/metadata/metadatum": metadatum
"/redis:v1beta1/Location/name": name
"/redis:v1beta1/LocationMetadata": location_metadata
"/redis:v1beta1/LocationMetadata/availableZones": available_zones
"/redis:v1beta1/LocationMetadata/availableZones/available_zone": available_zone
"/redis:v1beta1/Operation": operation
"/redis:v1beta1/Operation/done": done
"/redis:v1beta1/Operation/error": error
"/redis:v1beta1/Operation/metadata": metadata
"/redis:v1beta1/Operation/metadata/metadatum": metadatum
"/redis:v1beta1/Operation/name": name
"/redis:v1beta1/Operation/response": response
"/redis:v1beta1/Operation/response/response": response
"/redis:v1beta1/OperationMetadata": operation_metadata
"/redis:v1beta1/OperationMetadata/createTime": create_time
"/redis:v1beta1/OperationMetadata/detail": detail
"/redis:v1beta1/OperationMetadata/endTime": end_time
"/redis:v1beta1/OperationMetadata/operationType": operation_type
"/redis:v1beta1/OperationMetadata/startTime": start_time
"/redis:v1beta1/OperationMetadata/state": state
"/redis:v1beta1/OperationMetadata/target": target
"/redis:v1beta1/Status": status
"/redis:v1beta1/Status/code": code
"/redis:v1beta1/Status/details": details
"/redis:v1beta1/Status/details/detail": detail
"/redis:v1beta1/Status/details/detail/detail": detail
"/redis:v1beta1/Status/message": message
"/redis:v1beta1/ZoneMetadata": zone_metadata
"/redis:v1beta1/fields": fields
"/redis:v1beta1/key": key
"/redis:v1beta1/quotaUser": quota_user
"/redis:v1beta1/redis.projects.locations.get": get_project_location
"/redis:v1beta1/redis.projects.locations.get/name": name
"/redis:v1beta1/redis.projects.locations.instances.create": create_project_location_instance
"/redis:v1beta1/redis.projects.locations.instances.create/instanceId": instance_id
"/redis:v1beta1/redis.projects.locations.instances.create/parent": parent
"/redis:v1beta1/redis.projects.locations.instances.delete": delete_project_location_instance
"/redis:v1beta1/redis.projects.locations.instances.delete/name": name
"/redis:v1beta1/redis.projects.locations.instances.get": get_project_location_instance
"/redis:v1beta1/redis.projects.locations.instances.get/name": name
"/redis:v1beta1/redis.projects.locations.instances.list": list_project_location_instances
"/redis:v1beta1/redis.projects.locations.instances.list/pageSize": page_size
"/redis:v1beta1/redis.projects.locations.instances.list/pageToken": page_token
"/redis:v1beta1/redis.projects.locations.instances.list/parent": parent
"/redis:v1beta1/redis.projects.locations.instances.patch": patch_project_location_instance
"/redis:v1beta1/redis.projects.locations.instances.patch/name": name
"/redis:v1beta1/redis.projects.locations.instances.patch/updateMask": update_mask
"/redis:v1beta1/redis.projects.locations.list": list_project_locations
"/redis:v1beta1/redis.projects.locations.list/filter": filter
"/redis:v1beta1/redis.projects.locations.list/name": name
"/redis:v1beta1/redis.projects.locations.list/pageSize": page_size
"/redis:v1beta1/redis.projects.locations.list/pageToken": page_token
"/redis:v1beta1/redis.projects.locations.operations.get": get_project_location_operation
"/redis:v1beta1/redis.projects.locations.operations.get/name": name
"/redis:v1beta1/redis.projects.locations.operations.list": list_project_location_operations
"/redis:v1beta1/redis.projects.locations.operations.list/filter": filter
"/redis:v1beta1/redis.projects.locations.operations.list/name": name
"/redis:v1beta1/redis.projects.locations.operations.list/pageSize": page_size
"/redis:v1beta1/redis.projects.locations.operations.list/pageToken": page_token
"/replicapool:v1beta1/AccessConfig": access_config "/replicapool:v1beta1/AccessConfig": access_config
"/replicapool:v1beta1/AccessConfig/name": name "/replicapool:v1beta1/AccessConfig/name": name
"/replicapool:v1beta1/AccessConfig/natIp": nat_ip "/replicapool:v1beta1/AccessConfig/natIp": nat_ip
@ -65926,6 +66255,11 @@
"/serviceusage:v1beta1/BatchEnableServicesRequest": batch_enable_services_request "/serviceusage:v1beta1/BatchEnableServicesRequest": batch_enable_services_request
"/serviceusage:v1beta1/BatchEnableServicesRequest/serviceIds": service_ids "/serviceusage:v1beta1/BatchEnableServicesRequest/serviceIds": service_ids
"/serviceusage:v1beta1/BatchEnableServicesRequest/serviceIds/service_id": service_id "/serviceusage:v1beta1/BatchEnableServicesRequest/serviceIds/service_id": service_id
"/serviceusage:v1beta1/BatchEnableServicesResponse": batch_enable_services_response
"/serviceusage:v1beta1/BatchEnableServicesResponse/failures": failures
"/serviceusage:v1beta1/BatchEnableServicesResponse/failures/failure": failure
"/serviceusage:v1beta1/BatchEnableServicesResponse/services": services
"/serviceusage:v1beta1/BatchEnableServicesResponse/services/service": service
"/serviceusage:v1beta1/Billing": billing "/serviceusage:v1beta1/Billing": billing
"/serviceusage:v1beta1/Billing/consumerDestinations": consumer_destinations "/serviceusage:v1beta1/Billing/consumerDestinations": consumer_destinations
"/serviceusage:v1beta1/Billing/consumerDestinations/consumer_destination": consumer_destination "/serviceusage:v1beta1/Billing/consumerDestinations/consumer_destination": consumer_destination
@ -65962,6 +66296,8 @@
"/serviceusage:v1beta1/CustomHttpPattern/kind": kind "/serviceusage:v1beta1/CustomHttpPattern/kind": kind
"/serviceusage:v1beta1/CustomHttpPattern/path": path "/serviceusage:v1beta1/CustomHttpPattern/path": path
"/serviceusage:v1beta1/DisableServiceRequest": disable_service_request "/serviceusage:v1beta1/DisableServiceRequest": disable_service_request
"/serviceusage:v1beta1/DisableServiceResponse": disable_service_response
"/serviceusage:v1beta1/DisableServiceResponse/service": service
"/serviceusage:v1beta1/Documentation": documentation "/serviceusage:v1beta1/Documentation": documentation
"/serviceusage:v1beta1/Documentation/documentationRootUrl": documentation_root_url "/serviceusage:v1beta1/Documentation/documentationRootUrl": documentation_root_url
"/serviceusage:v1beta1/Documentation/overview": overview "/serviceusage:v1beta1/Documentation/overview": overview
@ -65974,7 +66310,12 @@
"/serviceusage:v1beta1/DocumentationRule/deprecationDescription": deprecation_description "/serviceusage:v1beta1/DocumentationRule/deprecationDescription": deprecation_description
"/serviceusage:v1beta1/DocumentationRule/description": description "/serviceusage:v1beta1/DocumentationRule/description": description
"/serviceusage:v1beta1/DocumentationRule/selector": selector "/serviceusage:v1beta1/DocumentationRule/selector": selector
"/serviceusage:v1beta1/EnableFailure": enable_failure
"/serviceusage:v1beta1/EnableFailure/errorMessage": error_message
"/serviceusage:v1beta1/EnableFailure/serviceId": service_id
"/serviceusage:v1beta1/EnableServiceRequest": enable_service_request "/serviceusage:v1beta1/EnableServiceRequest": enable_service_request
"/serviceusage:v1beta1/EnableServiceResponse": enable_service_response
"/serviceusage:v1beta1/EnableServiceResponse/service": service
"/serviceusage:v1beta1/Endpoint": endpoint "/serviceusage:v1beta1/Endpoint": endpoint
"/serviceusage:v1beta1/Endpoint/aliases": aliases "/serviceusage:v1beta1/Endpoint/aliases": aliases
"/serviceusage:v1beta1/Endpoint/aliases/alias": alias "/serviceusage:v1beta1/Endpoint/aliases/alias": alias
@ -66048,6 +66389,22 @@
"/serviceusage:v1beta1/GoogleApiService/types/type": type "/serviceusage:v1beta1/GoogleApiService/types/type": type
"/serviceusage:v1beta1/GoogleApiService/usage": usage "/serviceusage:v1beta1/GoogleApiService/usage": usage
"/serviceusage:v1beta1/GoogleApiService/visibility": visibility "/serviceusage:v1beta1/GoogleApiService/visibility": visibility
"/serviceusage:v1beta1/GoogleApiServiceusageV1Service": google_api_serviceusage_v1_service
"/serviceusage:v1beta1/GoogleApiServiceusageV1Service/config": config
"/serviceusage:v1beta1/GoogleApiServiceusageV1Service/name": name
"/serviceusage:v1beta1/GoogleApiServiceusageV1Service/parent": parent
"/serviceusage:v1beta1/GoogleApiServiceusageV1Service/state": state
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig": google_api_serviceusage_v1_service_config
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig/apis": apis
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig/apis/api": api
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig/authentication": authentication
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig/documentation": documentation
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig/endpoints": endpoints
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig/endpoints/endpoint": endpoint
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig/name": name
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig/quota": quota
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig/title": title
"/serviceusage:v1beta1/GoogleApiServiceusageV1ServiceConfig/usage": usage
"/serviceusage:v1beta1/Http": http "/serviceusage:v1beta1/Http": http
"/serviceusage:v1beta1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion "/serviceusage:v1beta1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion
"/serviceusage:v1beta1/Http/rules": rules "/serviceusage:v1beta1/Http/rules": rules

View File

@ -20,13 +20,13 @@ module Google
module Apis module Apis
# Admin Directory API # Admin Directory API
# #
# The Admin SDK Directory API lets you view and manage enterprise resources such # Manages enterprise resources such as users and groups, administrative
# as users and groups, administrative notifications, security features, and more. # notifications, security features, and more.
# #
# @see https://developers.google.com/admin-sdk/directory/ # @see https://developers.google.com/admin-sdk/directory/
module AdminDirectoryV1 module AdminDirectoryV1
VERSION = 'DirectoryV1' VERSION = 'DirectoryV1'
REVISION = '20180316' REVISION = '20180423'
# View and manage customer related information # View and manage customer related information
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer' AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'

View File

@ -2515,6 +2515,11 @@ module Google
class Schema class Schema
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Display name for the schema.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# ETag of the resource. # ETag of the resource.
# Corresponds to the JSON property `etag` # Corresponds to the JSON property `etag`
# @return [String] # @return [String]
@ -2546,6 +2551,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@etag = args[:etag] if args.key?(:etag) @etag = args[:etag] if args.key?(:etag)
@fields = args[:fields] if args.key?(:fields) @fields = args[:fields] if args.key?(:fields)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@ -2558,6 +2564,11 @@ module Google
class SchemaFieldSpec class SchemaFieldSpec
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Display Name of the field.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# ETag of the resource. # ETag of the resource.
# Corresponds to the JSON property `etag` # Corresponds to the JSON property `etag`
# @return [String] # @return [String]
@ -2614,6 +2625,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@etag = args[:etag] if args.key?(:etag) @etag = args[:etag] if args.key?(:etag)
@field_id = args[:field_id] if args.key?(:field_id) @field_id = args[:field_id] if args.key?(:field_id)
@field_name = args[:field_name] if args.key?(:field_name) @field_name = args[:field_name] if args.key?(:field_name)
@ -3821,6 +3833,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :home_directory attr_accessor :home_directory
# The operating system type for this account.
# Corresponds to the JSON property `operatingSystemType`
# @return [String]
attr_accessor :operating_system_type
# If this is user's primary account within the SystemId. # If this is user's primary account within the SystemId.
# Corresponds to the JSON property `primary` # Corresponds to the JSON property `primary`
# @return [Boolean] # @return [Boolean]
@ -3857,6 +3874,7 @@ module Google
@gecos = args[:gecos] if args.key?(:gecos) @gecos = args[:gecos] if args.key?(:gecos)
@gid = args[:gid] if args.key?(:gid) @gid = args[:gid] if args.key?(:gid)
@home_directory = args[:home_directory] if args.key?(:home_directory) @home_directory = args[:home_directory] if args.key?(:home_directory)
@operating_system_type = args[:operating_system_type] if args.key?(:operating_system_type)
@primary = args[:primary] if args.key?(:primary) @primary = args[:primary] if args.key?(:primary)
@shell = args[:shell] if args.key?(:shell) @shell = args[:shell] if args.key?(:shell)
@system_id = args[:system_id] if args.key?(:system_id) @system_id = args[:system_id] if args.key?(:system_id)

View File

@ -1132,6 +1132,7 @@ module Google
class Schema class Schema
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :etag, as: 'etag' property :etag, as: 'etag'
collection :fields, as: 'fields', class: Google::Apis::AdminDirectoryV1::SchemaFieldSpec, decorator: Google::Apis::AdminDirectoryV1::SchemaFieldSpec::Representation collection :fields, as: 'fields', class: Google::Apis::AdminDirectoryV1::SchemaFieldSpec, decorator: Google::Apis::AdminDirectoryV1::SchemaFieldSpec::Representation
@ -1144,6 +1145,7 @@ module Google
class SchemaFieldSpec class SchemaFieldSpec
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :etag, as: 'etag' property :etag, as: 'etag'
property :field_id, as: 'fieldId' property :field_id, as: 'fieldId'
property :field_name, as: 'fieldName' property :field_name, as: 'fieldName'
@ -1436,6 +1438,7 @@ module Google
property :gecos, as: 'gecos' property :gecos, as: 'gecos'
property :gid, :numeric_string => true, as: 'gid' property :gid, :numeric_string => true, as: 'gid'
property :home_directory, as: 'homeDirectory' property :home_directory, as: 'homeDirectory'
property :operating_system_type, as: 'operatingSystemType'
property :primary, as: 'primary' property :primary, as: 'primary'
property :shell, as: 'shell' property :shell, as: 'shell'
property :system_id, as: 'systemId' property :system_id, as: 'systemId'

View File

@ -22,8 +22,8 @@ module Google
module AdminDirectoryV1 module AdminDirectoryV1
# Admin Directory API # Admin Directory API
# #
# The Admin SDK Directory API lets you view and manage enterprise resources such # Manages enterprise resources such as users and groups, administrative
# as users and groups, administrative notifications, security features, and more. # notifications, security features, and more.
# #
# @example # @example
# require 'google/apis/admin_directory_v1' # require 'google/apis/admin_directory_v1'
@ -925,7 +925,7 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Retrieve all groups in a domain (paginated) # Retrieve all groups of a domain or of a user given a userKey (paginated)
# @param [String] customer # @param [String] customer
# Immutable ID of the G Suite account. In case of multi-domain, to fetch all # Immutable ID of the G Suite account. In case of multi-domain, to fetch all
# groups for a customer, fill this field instead of domain. # groups for a customer, fill this field instead of domain.
@ -934,11 +934,19 @@ module Google
# return all groups in a multi-domain fill customer field instead. # return all groups in a multi-domain fill customer field instead.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# Maximum number of results to return. Default is 200 # Maximum number of results to return. Default is 200
# @param [String] order_by
# Column to use for sorting results
# @param [String] page_token # @param [String] page_token
# Token to specify next page in the list # Token to specify next page in the list
# @param [String] query
# Query string search. Should be of the form "". Complete documentation is at
# https://developers.google.com/admin-sdk/directory/v1/guides/search-users
# @param [String] sort_order
# Whether to return results in ascending or descending order. Only of use when
# orderBy is also used
# @param [String] user_key # @param [String] user_key
# Email or immutable ID of the user if only those groups are to be listed, the # Email or immutable Id of the user if only those groups are to be listed, the
# given user is a member of. If ID, it should match with id of user object # given user is a member of. If Id, it should match with id of user object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -958,14 +966,17 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_groups(customer: nil, domain: nil, max_results: nil, page_token: nil, user_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def list_groups(customer: nil, domain: nil, max_results: nil, order_by: nil, page_token: nil, query: nil, sort_order: nil, user_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'groups', options) command = make_simple_command(:get, 'groups', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Groups::Representation command.response_representation = Google::Apis::AdminDirectoryV1::Groups::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Groups command.response_class = Google::Apis::AdminDirectoryV1::Groups
command.query['customer'] = customer unless customer.nil? command.query['customer'] = customer unless customer.nil?
command.query['domain'] = domain unless domain.nil? command.query['domain'] = domain unless domain.nil?
command.query['maxResults'] = max_results unless max_results.nil? command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['query'] = query unless query.nil?
command.query['sortOrder'] = sort_order unless sort_order.nil?
command.query['userKey'] = user_key unless user_key.nil? command.query['userKey'] = user_key unless user_key.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -1298,6 +1309,8 @@ module Google
# Retrieve all members in a group (paginated) # Retrieve all members in a group (paginated)
# @param [String] group_key # @param [String] group_key
# Email or immutable ID of the group # Email or immutable ID of the group
# @param [Boolean] include_derived_membership
# Whether to list indirect memberships. Default: false.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# Maximum number of results to return. Default is 200 # Maximum number of results to return. Default is 200
# @param [String] page_token # @param [String] page_token
@ -1323,11 +1336,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_members(group_key, max_results: nil, page_token: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def list_members(group_key, include_derived_membership: nil, max_results: nil, page_token: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'groups/{groupKey}/members', options) command = make_simple_command(:get, 'groups/{groupKey}/members', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Members::Representation command.response_representation = Google::Apis::AdminDirectoryV1::Members::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Members command.response_class = Google::Apis::AdminDirectoryV1::Members
command.params['groupKey'] = group_key unless group_key.nil? command.params['groupKey'] = group_key unless group_key.nil?
command.query['includeDerivedMembership'] = include_derived_membership unless include_derived_membership.nil?
command.query['maxResults'] = max_results unless max_results.nil? command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['roles'] = roles unless roles.nil? command.query['roles'] = roles unless roles.nil?

View File

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

View File

@ -33,7 +33,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone # * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account. # who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google # * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` or `joe@example.com`. # account. For example, `alice@gmail.com` .
# * `serviceAccount:`emailid``: An email address that represents a service # * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`. # account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. # * `group:`emailid``: An email address that represents a Google group.

View File

@ -48,6 +48,62 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# List devices in a device registry.
# @param [String] parent
# The device registry path. Required. For example,
# `projects/my-project/locations/us-central1/registries/my-registry`.
# @param [Array<String>, String] device_ids
# A list of device string identifiers. If empty, it will ignore this field.
# For example, `['device0', 'device12']`. This field cannot hold more than
# 10,000 entries.
# @param [Array<Fixnum>, Fixnum] device_num_ids
# A list of device numerical ids. If empty, it will ignore this field. This
# field cannot hold more than 10,000 entries.
# @param [String] field_mask
# The fields of the `Device` resource to be returned in the response. The
# fields `id`, and `num_id` are always returned by default, along with any
# other fields specified.
# @param [Fixnum] page_size
# The maximum number of devices to return in the response. If this value
# is zero, the service will select a default size. A call may return fewer
# objects than requested, but if there is a non-empty `page_token`, it
# indicates that more entries are available.
# @param [String] page_token
# The value returned by the last `ListDevicesResponse`; indicates
# that this is a continuation of a prior `ListDevices` call, and
# that the system should return the next page of data.
# @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::CloudiotV1::ListDevicesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudiotV1::ListDevicesResponse]
#
# @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_group_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
command.params['parent'] = parent unless parent.nil?
command.query['deviceIds'] = device_ids unless device_ids.nil?
command.query['deviceNumIds'] = device_num_ids unless device_num_ids.nil?
command.query['fieldMask'] = field_mask unless field_mask.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
# Creates a device registry that contains devices. # Creates a device registry that contains devices.
# @param [String] parent # @param [String] parent
# The project and cloud region where this device registry must be created. # The project and cloud region where this device registry must be created.
@ -649,6 +705,337 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end 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 [Google::Apis::CloudiotV1::GetIamPolicyRequest] get_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::CloudiotV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudiotV1::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_group_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudiotV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
command.response_class = Google::Apis::CloudiotV1::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
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# @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::CloudiotV1::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::CloudiotV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudiotV1::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_group_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::CloudiotV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
command.response_class = Google::Apis::CloudiotV1::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.
# @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::CloudiotV1::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::CloudiotV1::TestIamPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudiotV1::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_group_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::CloudiotV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudiotV1::TestIamPermissionsResponse::Representation
command.response_class = Google::Apis::CloudiotV1::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
# Deletes a device.
# @param [String] name
# The name of the device. For example,
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
# @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::CloudiotV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudiotV1::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_registry_group_device(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudiotV1::Empty::Representation
command.response_class = Google::Apis::CloudiotV1::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 details about a device.
# @param [String] name
# The name of the device. For example,
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
# @param [String] field_mask
# The fields of the `Device` resource to be returned in the response. If the
# field mask is unset or empty, all fields are returned.
# @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::CloudiotV1::Device] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudiotV1::Device]
#
# @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_registry_group_device(name, field_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
command.response_class = Google::Apis::CloudiotV1::Device
command.params['name'] = name unless name.nil?
command.query['fieldMask'] = field_mask unless field_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Modifies the configuration for the device, which is eventually sent from
# the Cloud IoT Core servers. Returns the modified configuration version and
# its metadata.
# @param [String] name
# The name of the device. For example,
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
# @param [Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest] modify_cloud_to_device_config_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::CloudiotV1::DeviceConfig] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudiotV1::DeviceConfig]
#
# @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 modify_project_location_registry_group_device_cloud_to_device_config(name, modify_cloud_to_device_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:modifyCloudToDeviceConfig', options)
command.request_representation = Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest::Representation
command.request_object = modify_cloud_to_device_config_request_object
command.response_representation = Google::Apis::CloudiotV1::DeviceConfig::Representation
command.response_class = Google::Apis::CloudiotV1::DeviceConfig
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
# Updates a device.
# @param [String] name
# The resource path name. For example,
# `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or
# `projects/p1/locations/us-central1/registries/registry0/devices/`num_id``.
# When `name` is populated as a response from the service, it always ends
# in the device numeric ID.
# @param [Google::Apis::CloudiotV1::Device] device_object
# @param [String] update_mask
# Only updates the `device` fields indicated by this mask.
# The field mask must not be empty, and it must not contain fields that
# are immutable or only set by the server.
# Mutable top-level fields: `credentials`, `blocked`, and `metadata`
# @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::CloudiotV1::Device] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudiotV1::Device]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_project_location_registry_group_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::CloudiotV1::Device::Representation
command.request_object = device_object
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
command.response_class = Google::Apis::CloudiotV1::Device
command.params['name'] = name unless name.nil?
command.query['updateMask'] = update_mask unless update_mask.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 the last few versions of the device configuration in descending
# order (i.e.: newest first).
# @param [String] name
# The name of the device. For example,
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
# @param [Fixnum] num_versions
# The number of versions to list. Versions are listed in decreasing order of
# the version number. The maximum number of versions retained is 10. If this
# value is zero, it will return all the versions available.
# @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::CloudiotV1::ListDeviceConfigVersionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse]
#
# @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_registry_group_device_config_versions(name, num_versions: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/configVersions', options)
command.response_representation = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse::Representation
command.response_class = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse
command.params['name'] = name unless name.nil?
command.query['numVersions'] = num_versions unless num_versions.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 the last few versions of the device state in descending order (i.e.:
# newest first).
# @param [String] name
# The name of the device. For example,
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
# @param [Fixnum] num_states
# The number of states to list. States are listed in descending order of
# update time. The maximum number of states retained is 10. If this
# value is zero, it will return all the states available.
# @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::CloudiotV1::ListDeviceStatesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudiotV1::ListDeviceStatesResponse]
#
# @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_registry_group_device_states(name, num_states: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/states', options)
command.response_representation = Google::Apis::CloudiotV1::ListDeviceStatesResponse::Representation
command.response_class = Google::Apis::CloudiotV1::ListDeviceStatesResponse
command.params['name'] = name unless name.nil?
command.query['numStates'] = num_states unless num_states.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 protected
def apply_command_defaults(command) def apply_command_defaults(command)

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/cloud-tasks/ # @see https://cloud.google.com/cloud-tasks/
module CloudtasksV2beta2 module CloudtasksV2beta2
VERSION = 'V2beta2' VERSION = 'V2beta2'
REVISION = '20180423' REVISION = '20180503'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1015,6 +1015,8 @@ module Google
# Rate limits. # Rate limits.
# This message determines the maximum rate that tasks can be dispatched by a # This message determines the maximum rate that tasks can be dispatched by a
# queue, regardless of whether the dispatch is a first task attempt or a retry. # queue, regardless of whether the dispatch is a first task attempt or a retry.
# Note: The debugging command, RunTask, will run a task
# even if the queue has reached its RateLimits.
# Corresponds to the JSON property `rateLimits` # Corresponds to the JSON property `rateLimits`
# @return [Google::Apis::CloudtasksV2beta2::RateLimits] # @return [Google::Apis::CloudtasksV2beta2::RateLimits]
attr_accessor :rate_limits attr_accessor :rate_limits
@ -1054,6 +1056,8 @@ module Google
# Rate limits. # Rate limits.
# This message determines the maximum rate that tasks can be dispatched by a # This message determines the maximum rate that tasks can be dispatched by a
# queue, regardless of whether the dispatch is a first task attempt or a retry. # queue, regardless of whether the dispatch is a first task attempt or a retry.
# Note: The debugging command, RunTask, will run a task
# even if the queue has reached its RateLimits.
class RateLimits class RateLimits
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1095,9 +1099,11 @@ module Google
# concurrent requests decreases. # concurrent requests decreases.
# If unspecified when the queue is created, Cloud Tasks will pick the # If unspecified when the queue is created, Cloud Tasks will pick the
# default. # default.
# The maximum allowed value is 5,000. -1 indicates no limit. # The maximum allowed value is 5,000.
# This field is output only for # This field is output only for
# [pull queues](google.cloud.tasks.v2beta2.PullTarget). # [pull queues](google.cloud.tasks.v2beta2.PullTarget) and always -1, which
# indicates no limit. No other queue types can have `max_concurrent_tasks`
# set to -1.
# This field has the same meaning as # This field has the same meaning as
# [max_concurrent_requests in queue.yaml/xml](/appengine/docs/standard/python/ # [max_concurrent_requests in queue.yaml/xml](/appengine/docs/standard/python/
# config/queueref#max_concurrent_requests). # config/queueref#max_concurrent_requests).

View File

@ -975,28 +975,26 @@ module Google
end end
# Forces a task to run now. # Forces a task to run now.
# When this method is called, Cloud Tasks will dispatch the task, even if
# the task is already running, the queue has reached its RateLimits or
# is PAUSED.
# This command is meant to be used for manual debugging. For # This command is meant to be used for manual debugging. For
# example, RunTask can be used to retry a failed # example, RunTask can be used to retry a failed
# task after a fix has been made or to manually force a task to be # task after a fix has been made or to manually force a task to be
# dispatched now. # dispatched now.
# When this method is called, Cloud Tasks will dispatch the task to its
# target, even if the queue is PAUSED.
# The dispatched task is returned. That is, the task that is returned # The dispatched task is returned. That is, the task that is returned
# contains the status after the task is dispatched but # contains the status after the task is dispatched but
# before the task is received by its target. # before the task is received by its target.
# If Cloud Tasks receives a successful response from the task's # If Cloud Tasks receives a successful response from the task's
# handler, then the task will be deleted; otherwise the task's # target, then the task will be deleted; otherwise the task's
# schedule_time will be reset to the time that # schedule_time will be reset to the time that
# RunTask was called plus the retry delay specified # RunTask was called plus the retry delay specified
# in the queue and task's RetryConfig. # in the queue's RetryConfig.
# RunTask returns # RunTask returns
# NOT_FOUND when it is called on a # NOT_FOUND when it is called on a
# task that has already succeeded or permanently # task that has already succeeded or permanently failed.
# failed. FAILED_PRECONDITION # RunTask cannot be called on a
# is returned when RunTask is called on task # pull task.
# that is dispatched or already running.
# RunTask cannot be called on
# pull tasks.
# @param [String] name # @param [String] name
# Required. # Required.
# The task name. For example: # The task name. For example:

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -652,6 +652,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DisksAddResourcePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DisksRemoveResourcePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DisksResizeRequest class DisksResizeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1510,6 +1522,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class InstancesAddResourcePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstancesRemoveResourcePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstancesResumeRequest class InstancesResumeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2698,6 +2722,126 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ResourcePoliciesList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePoliciesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyBackupSchedulePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyBackupSchedulePolicyRetentionPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyBackupSchedulePolicySchedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyBackupSchedulePolicySnapshotProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyDailyCycle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyHourlyCycle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyVmMaintenancePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyVmMaintenancePolicyMaintenanceWindow
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyWeeklyCycle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyWeeklyCycleDayOfWeek
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Route class Route
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3664,6 +3808,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class UsableSubnetworkSecondaryRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UsableSubnetworksAggregatedList class UsableSubnetworksAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4783,6 +4933,7 @@ module Google
property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes' property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
property :region, as: 'region' property :region, as: 'region'
collection :replica_zones, as: 'replicaZones' collection :replica_zones, as: 'replicaZones'
collection :resource_policies, as: 'resourcePolicies'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :size_gb, :numeric_string => true, as: 'sizeGb' property :size_gb, :numeric_string => true, as: 'sizeGb'
property :source_image, as: 'sourceImage' property :source_image, as: 'sourceImage'
@ -4992,6 +5143,20 @@ module Google
end end
end end
class DisksAddResourcePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_policies, as: 'resourcePolicies'
end
end
class DisksRemoveResourcePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_policies, as: 'resourcePolicies'
end
end
class DisksResizeRequest class DisksResizeRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -5922,6 +6087,7 @@ module Google
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeAlpha::NetworkInterface, decorator: Google::Apis::ComputeAlpha::NetworkInterface::Representation collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeAlpha::NetworkInterface, decorator: Google::Apis::ComputeAlpha::NetworkInterface::Representation
property :preserved_state_size_gb, :numeric_string => true, as: 'preservedStateSizeGb' property :preserved_state_size_gb, :numeric_string => true, as: 'preservedStateSizeGb'
collection :resource_policies, as: 'resourcePolicies'
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::Scheduling, decorator: Google::Apis::ComputeAlpha::Scheduling::Representation property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::Scheduling, decorator: Google::Apis::ComputeAlpha::Scheduling::Representation
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
@ -6212,6 +6378,7 @@ module Google
class InstanceGroupManagerUpdatePolicy class InstanceGroupManagerUpdatePolicy
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :instance_redistribution_type, as: 'instanceRedistributionType'
property :max_surge, as: 'maxSurge', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation property :max_surge, as: 'maxSurge', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
@ -6632,6 +6799,20 @@ module Google
end end
end end
class InstancesAddResourcePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_policies, as: 'resourcePolicies'
end
end
class InstancesRemoveResourcePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_policies, as: 'resourcePolicies'
end
end
class InstancesResumeRequest class InstancesResumeRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -7650,6 +7831,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :auto_create_routes, as: 'autoCreateRoutes' property :auto_create_routes, as: 'autoCreateRoutes'
property :export_custom_routes, as: 'exportCustomRoutes'
property :import_custom_routes, as: 'importCustomRoutes'
property :name, as: 'name' property :name, as: 'name'
property :network, as: 'network' property :network, as: 'network'
property :state, as: 'state' property :state, as: 'state'
@ -7668,6 +7851,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :auto_create_routes, as: 'autoCreateRoutes' property :auto_create_routes, as: 'autoCreateRoutes'
property :export_custom_routes, as: 'exportCustomRoutes'
property :import_custom_routes, as: 'importCustomRoutes'
property :name, as: 'name' property :name, as: 'name'
property :peer_network, as: 'peerNetwork' property :peer_network, as: 'peerNetwork'
end end
@ -8710,6 +8895,211 @@ module Google
end end
end end
class ResourcePoliciesList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::ResourcePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicy::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::ResourcePoliciesList::Warning, decorator: Google::Apis::ComputeAlpha::ResourcePoliciesList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::ResourcePoliciesList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::ResourcePoliciesList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class ResourcePoliciesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_policies, as: 'resourcePolicies', class: Google::Apis::ComputeAlpha::ResourcePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicy::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::ResourcePoliciesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::ResourcePoliciesScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::ResourcePoliciesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::ResourcePoliciesScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class ResourcePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :backup_schedule_policy, as: 'backupSchedulePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicy::Representation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :vm_maintenance_policy, as: 'vmMaintenancePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy::Representation
end
end
class ResourcePolicyAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeAlpha::ResourcePoliciesScopedList, decorator: Google::Apis::ComputeAlpha::ResourcePoliciesScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class ResourcePolicyBackupSchedulePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :retention_policy, as: 'retentionPolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicyRetentionPolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicyRetentionPolicy::Representation
property :schedule, as: 'schedule', class: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicySchedule, decorator: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicySchedule::Representation
property :snapshot_properties, as: 'snapshotProperties', class: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicySnapshotProperties, decorator: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicySnapshotProperties::Representation
end
end
class ResourcePolicyBackupSchedulePolicyRetentionPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_retention_days, as: 'maxRetentionDays'
end
end
class ResourcePolicyBackupSchedulePolicySchedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :daily_schedule, as: 'dailySchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle::Representation
property :hourly_schedule, as: 'hourlySchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyHourlyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyHourlyCycle::Representation
property :weekly_schedule, as: 'weeklySchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle::Representation
end
end
class ResourcePolicyBackupSchedulePolicySnapshotProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :guest_flush, as: 'guestFlush'
hash :labels, as: 'labels'
collection :storage_locations, as: 'storageLocations'
end
end
class ResourcePolicyDailyCycle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :days_in_cycle, as: 'daysInCycle'
property :duration, as: 'duration'
property :start_time, as: 'startTime'
end
end
class ResourcePolicyHourlyCycle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration, as: 'duration'
property :hours_in_cycle, as: 'hoursInCycle'
property :start_time, as: 'startTime'
end
end
class ResourcePolicyVmMaintenancePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :maintenance_environment, as: 'maintenanceEnvironment'
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicyMaintenanceWindow, decorator: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicyMaintenanceWindow::Representation
end
end
class ResourcePolicyVmMaintenancePolicyMaintenanceWindow
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :daily_maintenance_window, as: 'dailyMaintenanceWindow', class: Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle::Representation
property :weekly_maintenance_window, as: 'weeklyMaintenanceWindow', class: Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle::Representation
end
end
class ResourcePolicyWeeklyCycle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :day_of_weeks, as: 'dayOfWeeks', class: Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycleDayOfWeek, decorator: Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycleDayOfWeek::Representation
end
end
class ResourcePolicyWeeklyCycleDayOfWeek
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :day, as: 'day'
property :duration, as: 'duration'
property :start_time, as: 'startTime'
end
end
class Route class Route
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -8721,6 +9111,7 @@ module Google
property :name, as: 'name' property :name, as: 'name'
property :network, as: 'network' property :network, as: 'network'
property :next_hop_gateway, as: 'nextHopGateway' property :next_hop_gateway, as: 'nextHopGateway'
property :next_hop_ilb, as: 'nextHopIlb'
property :next_hop_instance, as: 'nextHopInstance' property :next_hop_instance, as: 'nextHopInstance'
property :next_hop_ip, as: 'nextHopIp' property :next_hop_ip, as: 'nextHopIp'
property :next_hop_network, as: 'nextHopNetwork' property :next_hop_network, as: 'nextHopNetwork'
@ -9218,6 +9609,7 @@ module Google
class Snapshot class Snapshot
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :auto_created, as: 'autoCreated'
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
@ -10429,10 +10821,20 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :ip_cidr_range, as: 'ipCidrRange' property :ip_cidr_range, as: 'ipCidrRange'
property :network, as: 'network' property :network, as: 'network'
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeAlpha::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ComputeAlpha::UsableSubnetworkSecondaryRange::Representation
property :subnetwork, as: 'subnetwork' property :subnetwork, as: 'subnetwork'
end end
end end
class UsableSubnetworkSecondaryRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_cidr_range, as: 'ipCidrRange'
property :range_name, as: 'rangeName'
end
end
class UsableSubnetworksAggregatedList class UsableSubnetworksAggregatedList
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -5874,6 +5874,62 @@ module Google
end end
end end
#
class Http2HealthCheck
include Google::Apis::Core::Hashable
# The value of the host header in the HTTP/2 health check request. If left empty
# (default value), the IP on behalf of which this health check is performed will
# be used.
# Corresponds to the JSON property `host`
# @return [String]
attr_accessor :host
# The TCP port number for the health check request. The default value is 443.
# Valid values are 1 through 65535.
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Port name as defined in InstanceGroup#NamedPort#name. If both port and
# port_name are defined, port takes precedence.
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
# @return [String]
attr_accessor :proxy_header
# The request path of the HTTP/2 health check request. The default value is /.
# Corresponds to the JSON property `requestPath`
# @return [String]
attr_accessor :request_path
# The string to match anywhere in the first 1024 bytes of the response body. If
# left empty (the default value), the status code determines health. The
# response data can only be ASCII.
# Corresponds to the JSON property `response`
# @return [String]
attr_accessor :response
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@host = args[:host] if args.key?(:host)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request_path = args[:request_path] if args.key?(:request_path)
@response = args[:response] if args.key?(:response)
end
end
# #
class HttpHealthCheck class HttpHealthCheck
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -6014,6 +6070,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :healthy_threshold attr_accessor :healthy_threshold
#
# Corresponds to the JSON property `http2HealthCheck`
# @return [Google::Apis::ComputeBeta::Http2HealthCheck]
attr_accessor :http2_health_check
# #
# Corresponds to the JSON property `httpHealthCheck` # Corresponds to the JSON property `httpHealthCheck`
# @return [Google::Apis::ComputeBeta::HttpHealthCheck] # @return [Google::Apis::ComputeBeta::HttpHealthCheck]
@ -6095,6 +6156,7 @@ module Google
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold) @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
@http2_health_check = args[:http2_health_check] if args.key?(:http2_health_check)
@http_health_check = args[:http_health_check] if args.key?(:http_health_check) @http_health_check = args[:http_health_check] if args.key?(:http_health_check)
@https_health_check = args[:https_health_check] if args.key?(:https_health_check) @https_health_check = args[:https_health_check] if args.key?(:https_health_check)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@ -7205,11 +7267,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# A fingerprint for this request, which is essentially a hash of the metadata's # A fingerprint for this request, which is essentially a hash of the label's
# contents and used for optimistic locking. The fingerprint is initially # contents and used for optimistic locking. The fingerprint is initially
# generated by Compute Engine and changes after every request to modify or # generated by Compute Engine and changes after every request to modify or
# update metadata. You must always provide an up-to-date fingerprint hash in # update labels. You must always provide an up-to-date fingerprint hash in order
# order to update or change metadata. # to update or change labels.
# To see the latest fingerprint, make get() request to the instance. # To see the latest fingerprint, make get() request to the instance.
# Corresponds to the JSON property `labelFingerprint` # Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
@ -7864,8 +7926,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :failover_action attr_accessor :failover_action
# [Output Only] The fingerprint of the resource data. You can use this optional # Fingerprint of this resource. This field may be used in optimistic locking. It
# field for optimistic locking when you update the resource. # will be ignored when inserting an InstanceGroupManager. An up-to-date
# fingerprint must be provided in order to update the InstanceGroupManager or
# the field need to be unset.
# Corresponds to the JSON property `fingerprint` # Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String] # @return [String]
@ -7925,10 +7989,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# [Output Only] The service account to be used as credentials for all operations # The service account to be used as credentials for all operations performed by
# performed by the managed instance group on instances. The service accounts # the managed instance group on instances. The service accounts needs all
# needs all permissions required to create and delete instances. By default, the # permissions required to create and delete instances. By default, the service
# service account `projectNumber`@cloudservices.gserviceaccount.com is used. # account `projectNumber`@cloudservices.gserviceaccount.com is used.
# Corresponds to the JSON property `serviceAccount` # Corresponds to the JSON property `serviceAccount`
# @return [String] # @return [String]
attr_accessor :service_account attr_accessor :service_account
@ -11146,8 +11210,8 @@ module Google
class InterconnectOutageNotification class InterconnectOutageNotification
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Iff issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs # If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that
# that will be affected. # will be affected.
# Corresponds to the JSON property `affectedCircuits` # Corresponds to the JSON property `affectedCircuits`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :affected_circuits attr_accessor :affected_circuits
@ -13492,15 +13556,19 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to specify # Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. # access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of ` # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
# members` to a `role`, where the members can be user accounts, Google groups, # members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions # Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM. # defined by IAM.
# **Example** # **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: # appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] ` # sean@example.com"] ` ] `
# **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs). # https://cloud.google.com/iam/docs).
class Policy class Policy
@ -18054,10 +18122,10 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies a fingerprint for this request, which is essentially a hash of the # Specifies a fingerprint for this request, which is essentially a hash of the
# metadata's contents and used for optimistic locking. The fingerprint is # tags' contents and used for optimistic locking. The fingerprint is initially
# initially generated by Compute Engine and changes after every request to # generated by Compute Engine and changes after every request to modify or
# modify or update metadata. You must always provide an up-to-date fingerprint # update tags. You must always provide an up-to-date fingerprint hash in order
# hash in order to update or change metadata. # to update or change tags.
# To see the latest fingerprint, make get() request to the instance. # To see the latest fingerprint, make get() request to the instance.
# Corresponds to the JSON property `fingerprint` # Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.

View File

@ -772,6 +772,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Http2HealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpHealthCheck class HttpHealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4405,6 +4411,18 @@ module Google
end end
end end
class Http2HealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
property :response, as: 'response'
end
end
class HttpHealthCheck class HttpHealthCheck
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -4436,6 +4454,8 @@ module Google
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :healthy_threshold, as: 'healthyThreshold' property :healthy_threshold, as: 'healthyThreshold'
property :http2_health_check, as: 'http2HealthCheck', class: Google::Apis::ComputeBeta::Http2HealthCheck, decorator: Google::Apis::ComputeBeta::Http2HealthCheck::Representation
property :http_health_check, as: 'httpHealthCheck', class: Google::Apis::ComputeBeta::HttpHealthCheck, decorator: Google::Apis::ComputeBeta::HttpHealthCheck::Representation property :http_health_check, as: 'httpHealthCheck', class: Google::Apis::ComputeBeta::HttpHealthCheck, decorator: Google::Apis::ComputeBeta::HttpHealthCheck::Representation
property :https_health_check, as: 'httpsHealthCheck', class: Google::Apis::ComputeBeta::HttpsHealthCheck, decorator: Google::Apis::ComputeBeta::HttpsHealthCheck::Representation property :https_health_check, as: 'httpsHealthCheck', class: Google::Apis::ComputeBeta::HttpsHealthCheck, decorator: Google::Apis::ComputeBeta::HttpsHealthCheck::Representation

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -6548,11 +6548,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# A fingerprint for this request, which is essentially a hash of the metadata's # A fingerprint for this request, which is essentially a hash of the label's
# contents and used for optimistic locking. The fingerprint is initially # contents and used for optimistic locking. The fingerprint is initially
# generated by Compute Engine and changes after every request to modify or # generated by Compute Engine and changes after every request to modify or
# update metadata. You must always provide an up-to-date fingerprint hash in # update labels. You must always provide an up-to-date fingerprint hash in order
# order to update or change metadata. # to update or change labels.
# To see the latest fingerprint, make get() request to the instance. # To see the latest fingerprint, make get() request to the instance.
# Corresponds to the JSON property `labelFingerprint` # Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
@ -7190,8 +7190,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# [Output Only] The fingerprint of the resource data. You can use this optional # Fingerprint of this resource. This field may be used in optimistic locking. It
# field for optimistic locking when you update the resource. # will be ignored when inserting an InstanceGroupManager. An up-to-date
# fingerprint must be provided in order to update the InstanceGroupManager or
# the field need to be unset.
# Corresponds to the JSON property `fingerprint` # Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String] # @return [String]
@ -10013,8 +10015,8 @@ module Google
class InterconnectOutageNotification class InterconnectOutageNotification
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Iff issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs # If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that
# that will be affected. # will be affected.
# Corresponds to the JSON property `affectedCircuits` # Corresponds to the JSON property `affectedCircuits`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :affected_circuits attr_accessor :affected_circuits
@ -15999,10 +16001,10 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies a fingerprint for this request, which is essentially a hash of the # Specifies a fingerprint for this request, which is essentially a hash of the
# metadata's contents and used for optimistic locking. The fingerprint is # tags' contents and used for optimistic locking. The fingerprint is initially
# initially generated by Compute Engine and changes after every request to # generated by Compute Engine and changes after every request to modify or
# modify or update metadata. You must always provide an up-to-date fingerprint # update tags. You must always provide an up-to-date fingerprint hash in order
# hash in order to update or change metadata. # to update or change tags.
# To see the latest fingerprint, make get() request to the instance. # To see the latest fingerprint, make get() request to the instance.
# Corresponds to the JSON property `fingerprint` # Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.

File diff suppressed because it is too large Load Diff

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/redis_v1beta1/service.rb'
require 'google/apis/redis_v1beta1/classes.rb'
require 'google/apis/redis_v1beta1/representations.rb'
module Google
module Apis
# Cloud Memorystore for Redis API
#
# The Google Cloud Memorystore for Redis API is used for creating and managing
# Redis instances on the Google Cloud Platform.
#
# @see https://cloud.google.com/memorystore/docs/redis/
module RedisV1beta1
VERSION = 'V1beta1'
REVISION = '20180423'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
end
end
end

View File

@ -0,0 +1,681 @@
# 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 RedisV1beta1
# Represents the metadata of the long-running operation.
class GoogleCloudCommonOperationMetadata
include Google::Apis::Core::Hashable
# [Output only] API version used to start the operation.
# Corresponds to the JSON property `apiVersion`
# @return [String]
attr_accessor :api_version
# [Output only] Identifies whether the user has requested cancellation
# of the operation. Operations that have successfully been cancelled
# have Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# Corresponds to the JSON property `cancelRequested`
# @return [Boolean]
attr_accessor :cancel_requested
alias_method :cancel_requested?, :cancel_requested
# [Output only] The time the operation was created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# [Output only] The time the operation finished running.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# [Output only] Human-readable status of the operation, if any.
# Corresponds to the JSON property `statusDetail`
# @return [String]
attr_accessor :status_detail
# [Output only] Server-defined resource path for the target of the operation.
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target
# [Output only] Name of the verb executed by the operation.
# Corresponds to the JSON property `verb`
# @return [String]
attr_accessor :verb
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@api_version = args[:api_version] if args.key?(:api_version)
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
@create_time = args[:create_time] if args.key?(:create_time)
@end_time = args[:end_time] if args.key?(:end_time)
@status_detail = args[:status_detail] if args.key?(:status_detail)
@target = args[:target] if args.key?(:target)
@verb = args[:verb] if args.key?(:verb)
end
end
# This location metadata represents additional configuration options for a
# given location where a Redis instance may be created. All fields are output
# only. It is returned as content of the
# `google.cloud.location.Location.metadata` field.
class GoogleCloudRedisV1beta1LocationMetadata
include Google::Apis::Core::Hashable
# Output only. The set of available zones in the location. The map is keyed
# by the lowercase ID of each zone, as defined by GCE. These keys can be
# specified in `location_id` or `alternative_location_id` fields when
# creating a Redis instance.
# Corresponds to the JSON property `availableZones`
# @return [Hash<String,Google::Apis::RedisV1beta1::GoogleCloudRedisV1beta1ZoneMetadata>]
attr_accessor :available_zones
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@available_zones = args[:available_zones] if args.key?(:available_zones)
end
end
# Defines specific information for a particular zone. Currently empty and
# reserved for future use only.
class GoogleCloudRedisV1beta1ZoneMetadata
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# A Google Cloud Redis instance.
class Instance
include Google::Apis::Core::Hashable
# Optional. Only applicable to STANDARD_HA tier which protects the instance
# against zonal failures by provisioning it across two zones. If provided, it
# must be a different zone from the one provided in [location_id].
# Corresponds to the JSON property `alternativeLocationId`
# @return [String]
attr_accessor :alternative_location_id
# Optional. The full name of the Google Compute Engine
# [network](/compute/docs/networks-and-firewalls#networks) to which the
# instance is connected. If left unspecified, the `default` network
# will be used.
# Corresponds to the JSON property `authorizedNetwork`
# @return [String]
attr_accessor :authorized_network
# Output only. The time the instance was created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# Output only. The current zone where the Redis endpoint is placed. In
# single zone deployments, this will always be the same as [location_id]
# provided by the user at creation time. In cross-zone instances (only
# applicable in STANDARD_HA tier), this can be either [location_id] or
# [alternative_location_id] and can change on a failover event.
# Corresponds to the JSON property `currentLocationId`
# @return [String]
attr_accessor :current_location_id
# An arbitrary and optional user-provided name for the instance.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Output only. Hostname or IP address of the exposed Redis endpoint used by
# clients to connect to the service.
# Corresponds to the JSON property `host`
# @return [String]
attr_accessor :host
# Resource labels to represent user provided metadata
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# Optional. The zone where the instance will be provisioned. If not provided,
# the service will choose a zone for the instance. For STANDARD_HA tier,
# instances will be created across two zones for protection against zonal
# failures. if [alternative_location_id] is also provided, it must be
# different from [location_id].
# Corresponds to the JSON property `locationId`
# @return [String]
attr_accessor :location_id
# Required. Redis memory size in GB, up to 200GB.
# Corresponds to the JSON property `memorySizeGb`
# @return [Fixnum]
attr_accessor :memory_size_gb
# Required. Unique name of the resource in this scope including project and
# location using the form:
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
# Note: Redis instances are managed and addressed at regional level so
# location_id here refers to a GCP region; however, users get to choose which
# specific zone (or collection of zones for cross-zone instances) an instance
# should be provisioned in. Refer to [location_id] and
# [alternative_location_id] fields for more details.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. The port number of the exposed Redis endpoint.
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Optional. Redis configuration parameters, according to
# http://redis.io/topics/config. Currently, the only supported parameters
# are:
# * maxmemory-policy
# * notify-keyspace-events
# Corresponds to the JSON property `redisConfigs`
# @return [Hash<String,String>]
attr_accessor :redis_configs
# Optional. The version of Redis software.
# If not provided, latest supported version will be used. Updating the
# version will perform an upgrade/downgrade to the new version. Currently,
# the supported values are `REDIS_3_2` for Redis 3.2.
# Corresponds to the JSON property `redisVersion`
# @return [String]
attr_accessor :redis_version
# Optional. The CIDR range of internal addresses that are reserved for this
# instance. If not provided, the service will choose an unused /29 block,
# for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
# and non-overlapping with existing subnets in a network.
# Corresponds to the JSON property `reservedIpRange`
# @return [String]
attr_accessor :reserved_ip_range
# Output only. The current state of this instance.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# Output only. Additional information about the current status of this
# instance, if available.
# Corresponds to the JSON property `statusMessage`
# @return [String]
attr_accessor :status_message
# Required. The service tier of the instance.
# Corresponds to the JSON property `tier`
# @return [String]
attr_accessor :tier
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@alternative_location_id = args[:alternative_location_id] if args.key?(:alternative_location_id)
@authorized_network = args[:authorized_network] if args.key?(:authorized_network)
@create_time = args[:create_time] if args.key?(:create_time)
@current_location_id = args[:current_location_id] if args.key?(:current_location_id)
@display_name = args[:display_name] if args.key?(:display_name)
@host = args[:host] if args.key?(:host)
@labels = args[:labels] if args.key?(:labels)
@location_id = args[:location_id] if args.key?(:location_id)
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
@name = args[:name] if args.key?(:name)
@port = args[:port] if args.key?(:port)
@redis_configs = args[:redis_configs] if args.key?(:redis_configs)
@redis_version = args[:redis_version] if args.key?(:redis_version)
@reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
@state = args[:state] if args.key?(:state)
@status_message = args[:status_message] if args.key?(:status_message)
@tier = args[:tier] if args.key?(:tier)
end
end
# Response for ListInstances.
class ListInstancesResponse
include Google::Apis::Core::Hashable
# A list of Redis instances in the project in the specified location,
# or across all locations.
# If the `location_id` in the parent field of the request is "-", all regions
# available to the project are queried, and the results aggregated.
# If in such an aggregated query a location is unavailable, a dummy Redis
# entry is included in the response with the "name" field set to a value of
# the form projects/`project_id`/locations/`location_id`/instances/- and the
# "status" field set to ERROR and "status_message" field set to "location not
# available for ListInstances".
# Corresponds to the JSON property `instances`
# @return [Array<Google::Apis::RedisV1beta1::Instance>]
attr_accessor :instances
# Token to retrieve the next page of results, or empty if there are no more
# results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instances = args[:instances] if args.key?(:instances)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# The response message for Locations.ListLocations.
class ListLocationsResponse
include Google::Apis::Core::Hashable
# A list of locations that matches the specified filter in the request.
# Corresponds to the JSON property `locations`
# @return [Array<Google::Apis::RedisV1beta1::Location>]
attr_accessor :locations
# The standard List next-page token.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@locations = args[:locations] if args.key?(:locations)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# The response message for Operations.ListOperations.
class ListOperationsResponse
include Google::Apis::Core::Hashable
# The standard List next-page token.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# A list of operations that matches the specified filter in the request.
# Corresponds to the JSON property `operations`
# @return [Array<Google::Apis::RedisV1beta1::Operation>]
attr_accessor :operations
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@operations = args[:operations] if args.key?(:operations)
end
end
# A resource that represents Google Cloud Platform location.
class Location
include Google::Apis::Core::Hashable
# The friendly name for this location, typically a nearby city name.
# For example, "Tokyo".
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Cross-service attributes for the location. For example
# `"cloud.googleapis.com/region": "us-east1"`
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The canonical id for this location. For example: `"us-east1"`.
# Corresponds to the JSON property `locationId`
# @return [String]
attr_accessor :location_id
# Service-specific metadata. For example the available capacity at the given
# location.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,Object>]
attr_accessor :metadata
# Resource name for the location, which may vary between implementations.
# For example: `"projects/example-project/locations/us-east1"`
# 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)
@display_name = args[:display_name] if args.key?(:display_name)
@labels = args[:labels] if args.key?(:labels)
@location_id = args[:location_id] if args.key?(:location_id)
@metadata = args[:metadata] if args.key?(:metadata)
@name = args[:name] if args.key?(:name)
end
end
# This location metadata represents additional configuration options for a
# given location where a Redis instance may be created. All fields are output
# only. It is returned as content of the
# `google.cloud.location.Location.metadata` field.
class LocationMetadata
include Google::Apis::Core::Hashable
# Output only. The set of available zones in the location. The map is keyed
# by the lowercase ID of each zone, as defined by GCE. These keys can be
# specified in `location_id` or `alternative_location_id` fields when
# creating a Redis instance.
# Corresponds to the JSON property `availableZones`
# @return [Hash<String,Google::Apis::RedisV1beta1::ZoneMetadata>]
attr_accessor :available_zones
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@available_zones = args[:available_zones] if args.key?(:available_zones)
end
end
# This resource represents a long-running operation that is the result of a
# network API call.
class Operation
include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
# Corresponds to the JSON property `done`
# @return [Boolean]
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
# Corresponds to the JSON property `error`
# @return [Google::Apis::RedisV1beta1::Status]
attr_accessor :error
# Service-specific metadata associated with the operation. It typically
# contains progress information and common metadata such as create time.
# Some services might not provide such metadata. Any method that returns a
# long-running operation should document the metadata type, if any.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,Object>]
attr_accessor :metadata
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The normal response of the operation in case of success. If the original
# method returns no data on success, such as `Delete`, the response is
# `google.protobuf.Empty`. If the original method is standard
# `Get`/`Create`/`Update`, the response should be the resource. For other
# methods, the response should have the type `XxxResponse`, where `Xxx`
# is the original method name. For example, if the original method name
# is `TakeSnapshot()`, the inferred response type is
# `TakeSnapshotResponse`.
# Corresponds to the JSON property `response`
# @return [Hash<String,Object>]
attr_accessor :response
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@done = args[:done] if args.key?(:done)
@error = args[:error] if args.key?(:error)
@metadata = args[:metadata] if args.key?(:metadata)
@name = args[:name] if args.key?(:name)
@response = args[:response] if args.key?(:response)
end
end
# This operation metadata represents the state of operations that may have
# happened or are happening on the instance. All fields are output only. It is
# returned as content of the `google.longrunning.Operation.metadata` field. The
# `google.longrunning.Operation.name` field will be of the form
# `projects/`project_id`/locations/`location_id`/operations/`operation_id`` and
# the name for a `ListOperations` request will be of the form
# `projects/`project_id`/locations/`location_id``
# On a ListOperations request where `location_id` is "-", all regions
# available to the `project_id` are queried and the results aggregated. If a
# location is not available, a dummy `google.longrunning.Operation` entry will
# be included in the `operations` field of the response, with the `name` field
# set to a value of the form
# `projects/`project_id`/locations/`location_id`/operations/-` and the `done`
# field will be set and the `result.error` field set with the `code` field set
# to `google.rpc.Code.DEADLINE_EXCEEDED` and the `message` field set to
# `location unavailable for ListOperations`. The Operation metadata` field
# will not be set for such a dummy operation.
class OperationMetadata
include Google::Apis::Core::Hashable
# Output only. The time the operation was created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# Output only. Detailed operation progress, if available.
# Corresponds to the JSON property `detail`
# @return [String]
attr_accessor :detail
# Output only. The time the operation was completed.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# Output only. The operation type.
# Corresponds to the JSON property `operationType`
# @return [String]
attr_accessor :operation_type
# Output only. The time the operation was started.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# Output only. The current state of the operation.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# Output only. Server-defined resource path for the target of the operation.
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time)
@detail = args[:detail] if args.key?(:detail)
@end_time = args[:end_time] if args.key?(:end_time)
@operation_type = args[:operation_type] if args.key?(:operation_type)
@start_time = args[:start_time] if args.key?(:start_time)
@state = args[:state] if args.key?(:state)
@target = args[:target] if args.key?(:target)
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
class Status
include Google::Apis::Core::Hashable
# The status code, which should be an enum value of google.rpc.Code.
# Corresponds to the JSON property `code`
# @return [Fixnum]
attr_accessor :code
# A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
# Corresponds to the JSON property `details`
# @return [Array<Hash<String,Object>>]
attr_accessor :details
# A developer-facing error message, which should be in English. Any
# user-facing error message should be localized and sent in the
# google.rpc.Status.details field, or localized by the client.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@details = args[:details] if args.key?(:details)
@message = args[:message] if args.key?(:message)
end
end
# Defines specific information for a particular zone. Currently empty and
# reserved for future use only.
class ZoneMetadata
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
end
end
end

View File

@ -0,0 +1,240 @@
# 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 RedisV1beta1
class GoogleCloudCommonOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRedisV1beta1LocationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRedisV1beta1ZoneMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListInstancesResponse
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 Status
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 GoogleCloudCommonOperationMetadata
# @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 GoogleCloudRedisV1beta1LocationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :available_zones, as: 'availableZones', class: Google::Apis::RedisV1beta1::GoogleCloudRedisV1beta1ZoneMetadata, decorator: Google::Apis::RedisV1beta1::GoogleCloudRedisV1beta1ZoneMetadata::Representation
end
end
class GoogleCloudRedisV1beta1ZoneMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :alternative_location_id, as: 'alternativeLocationId'
property :authorized_network, as: 'authorizedNetwork'
property :create_time, as: 'createTime'
property :current_location_id, as: 'currentLocationId'
property :display_name, as: 'displayName'
property :host, as: 'host'
hash :labels, as: 'labels'
property :location_id, as: 'locationId'
property :memory_size_gb, as: 'memorySizeGb'
property :name, as: 'name'
property :port, as: 'port'
hash :redis_configs, as: 'redisConfigs'
property :redis_version, as: 'redisVersion'
property :reserved_ip_range, as: 'reservedIpRange'
property :state, as: 'state'
property :status_message, as: 'statusMessage'
property :tier, as: 'tier'
end
end
class ListInstancesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::RedisV1beta1::Instance, decorator: Google::Apis::RedisV1beta1::Instance::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListLocationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :locations, as: 'locations', class: Google::Apis::RedisV1beta1::Location, decorator: Google::Apis::RedisV1beta1::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::RedisV1beta1::Operation, decorator: Google::Apis::RedisV1beta1::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::RedisV1beta1::ZoneMetadata, decorator: Google::Apis::RedisV1beta1::ZoneMetadata::Representation
end
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::RedisV1beta1::Status, decorator: Google::Apis::RedisV1beta1::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 :create_time, as: 'createTime'
property :detail, as: 'detail'
property :end_time, as: 'endTime'
property :operation_type, as: 'operationType'
property :start_time, as: 'startTime'
property :state, as: 'state'
property :target, as: 'target'
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 ZoneMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
end
end
end

View File

@ -0,0 +1,426 @@
# 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 RedisV1beta1
# Cloud Memorystore for Redis API
#
# The Google Cloud Memorystore for Redis API is used for creating and managing
# Redis instances on the Google Cloud Platform.
#
# @example
# require 'google/apis/redis_v1beta1'
#
# Redis = Google::Apis::RedisV1beta1 # Alias the module
# service = Redis::CloudRedisService.new
#
# @see https://cloud.google.com/memorystore/docs/redis/
class CloudRedisService < 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://redis.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::RedisV1beta1::Location] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RedisV1beta1::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, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::RedisV1beta1::Location::Representation
command.response_class = Google::Apis::RedisV1beta1::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::RedisV1beta1::ListLocationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RedisV1beta1::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, 'v1beta1/{+name}/locations', options)
command.response_representation = Google::Apis::RedisV1beta1::ListLocationsResponse::Representation
command.response_class = Google::Apis::RedisV1beta1::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
# Creates a Redis instance based on the specified tier and memory size.
# By default, the instance is peered to the project's
# [default network](/compute/docs/networks-and-firewalls#networks).
# The creation is executed asynchronously and callers may check the returned
# operation to track its progress. Once the operation is completed the Redis
# instance will be fully functional. Completed longrunning.Operation will
# contain the new instance object in the response field.
# The returned operation is automatically deleted after a few hours, so there
# is no need to call DeleteOperation.
# @param [String] parent
# Required. The resource name of the instance location using the form:
# `projects/`project_id`/locations/`location_id``
# where `location_id` refers to a GCP region
# @param [Google::Apis::RedisV1beta1::Instance] instance_object
# @param [String] instance_id
# Required. The logical name of the Redis instance in the customer project
# with the following restrictions:
# * Must contain only lowercase letters, numbers, and hyphens.
# * Must start with a letter.
# * Must be between 1-40 characters.
# * Must end with a number or a letter.
# * Must be unique within the customer project / 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::RedisV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RedisV1beta1::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 create_project_location_instance(parent, instance_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/instances', options)
command.request_representation = Google::Apis::RedisV1beta1::Instance::Representation
command.request_object = instance_object
command.response_representation = Google::Apis::RedisV1beta1::Operation::Representation
command.response_class = Google::Apis::RedisV1beta1::Operation
command.params['parent'] = parent unless parent.nil?
command.query['instanceId'] = instance_id unless instance_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a specific Redis instance. Instance stops serving and data is
# deleted.
# @param [String] name
# Required. Redis instance resource name using the form:
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
# where `location_id` refers to a GCP region
# @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::RedisV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RedisV1beta1::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 delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::RedisV1beta1::Operation::Representation
command.response_class = Google::Apis::RedisV1beta1::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
# Gets the details of a specific Redis instance.
# @param [String] name
# Required. Redis instance resource name using the form:
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
# where `location_id` refers to a GCP region
# @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::RedisV1beta1::Instance] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RedisV1beta1::Instance]
#
# @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(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::RedisV1beta1::Instance::Representation
command.response_class = Google::Apis::RedisV1beta1::Instance
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 all Redis instances owned by a project in either the specified
# location (region) or all locations.
# The location should have the following format:
# * `projects/`project_id`/locations/`location_id``
# If `location_id` is specified as `-` (wildcard), then all regions
# available to the project are queried, and the results are aggregated.
# @param [String] parent
# Required. The resource name of the instance location using the form:
# `projects/`project_id`/locations/`location_id``
# where `location_id` refers to a GCP region
# @param [Fixnum] page_size
# The maximum number of items to return.
# If not specified, a default value of 1000 will be used by the service.
# Regardless of the page_size value, the response may include a partial list
# and a caller should only rely on response's
# next_page_token
# to determine if there are more instances left to be queried.
# @param [String] page_token
# The next_page_token value returned from a previous List request,
# if any.
# @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::RedisV1beta1::ListInstancesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RedisV1beta1::ListInstancesResponse]
#
# @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_instances(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/instances', options)
command.response_representation = Google::Apis::RedisV1beta1::ListInstancesResponse::Representation
command.response_class = Google::Apis::RedisV1beta1::ListInstancesResponse
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
# Updates the metadata and configuration of a specific Redis instance.
# Completed longrunning.Operation will contain the new instance object
# in the response field. The returned operation is automatically deleted
# after a few hours, so there is no need to call DeleteOperation.
# @param [String] name
# Required. Unique name of the resource in this scope including project and
# location using the form:
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
# Note: Redis instances are managed and addressed at regional level so
# location_id here refers to a GCP region; however, users get to choose which
# specific zone (or collection of zones for cross-zone instances) an instance
# should be provisioned in. Refer to [location_id] and
# [alternative_location_id] fields for more details.
# @param [Google::Apis::RedisV1beta1::Instance] instance_object
# @param [String] update_mask
# Required. Mask of fields to update. At least one path must be supplied in
# this field. The elements of the repeated paths field may only include these
# fields from Instance:
# * `display_name`
# * `labels`
# * `redis_config`
# * `redis_version`
# @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::RedisV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RedisV1beta1::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 patch_project_location_instance(name, instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::RedisV1beta1::Instance::Representation
command.request_object = instance_object
command.response_representation = Google::Apis::RedisV1beta1::Operation::Representation
command.response_class = Google::Apis::RedisV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['updateMask'] = update_mask unless update_mask.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::RedisV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RedisV1beta1::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, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::RedisV1beta1::Operation::Representation
command.response_class = Google::Apis::RedisV1beta1::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::RedisV1beta1::ListOperationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RedisV1beta1::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, 'v1beta1/{+name}/operations', options)
command.response_representation = Google::Apis::RedisV1beta1::ListOperationsResponse::Representation
command.response_class = Google::Apis::RedisV1beta1::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

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1 module ServiceusageV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20180329' REVISION = '20180503'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -477,6 +477,34 @@ module Google
end end
end end
# Response message for the `BatchEnableServices` method.
# This response message is assigned to the `response` field of the returned
# Operation when that operation is done.
class BatchEnableServicesResponse
include Google::Apis::Core::Hashable
# If allow_partial_success is true, and one or more services could not be
# enabled, this field contains the details about each failure.
# Corresponds to the JSON property `failures`
# @return [Array<Google::Apis::ServiceusageV1beta1::EnableFailure>]
attr_accessor :failures
# The new state of the services after enabling.
# Corresponds to the JSON property `services`
# @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service>]
attr_accessor :services
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@failures = args[:failures] if args.key?(:failures)
@services = args[:services] if args.key?(:services)
end
end
# Billing related configuration of the service. # Billing related configuration of the service.
# The following example shows how to configure monitored resources and metrics # The following example shows how to configure monitored resources and metrics
# for billing: # for billing:
@ -781,6 +809,27 @@ module Google
end end
end end
# Response message for the `DisableService` method.
# This response message is assigned to the `response` field of the returned
# Operation when that operation is done.
class DisableServiceResponse
include Google::Apis::Core::Hashable
# A service that is available for use by the consumer.
# Corresponds to the JSON property `service`
# @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service]
attr_accessor :service
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@service = args[:service] if args.key?(:service)
end
end
# `Documentation` provides the information for describing a service. # `Documentation` provides the information for describing a service.
# Example: # Example:
# <pre><code>documentation: # <pre><code>documentation:
@ -924,6 +973,31 @@ module Google
end end
end end
#
class EnableFailure
include Google::Apis::Core::Hashable
# An error message describing why the service could not be enabled.
# Corresponds to the JSON property `errorMessage`
# @return [String]
attr_accessor :error_message
# The service id of a service that could not be enabled.
# Corresponds to the JSON property `serviceId`
# @return [String]
attr_accessor :service_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@error_message = args[:error_message] if args.key?(:error_message)
@service_id = args[:service_id] if args.key?(:service_id)
end
end
# Request message for the `EnableService` method. # Request message for the `EnableService` method.
class EnableServiceRequest class EnableServiceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -937,6 +1011,27 @@ module Google
end end
end end
# Response message for the `EnableService` method.
# This response message is assigned to the `response` field of the returned
# Operation when that operation is done.
class EnableServiceResponse
include Google::Apis::Core::Hashable
# A service that is available for use by the consumer.
# Corresponds to the JSON property `service`
# @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service]
attr_accessor :service
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@service = args[:service] if args.key?(:service)
end
end
# `Endpoint` describes a network endpoint that serves a set of APIs. # `Endpoint` describes a network endpoint that serves a set of APIs.
# A service may expose any number of endpoints, and all endpoints share the # A service may expose any number of endpoints, and all endpoints share the
# same service configuration, such as quota configuration and monitoring # same service configuration, such as quota configuration and monitoring
@ -1631,6 +1726,210 @@ module Google
end end
end end
# A service that is available for use by the consumer.
class GoogleApiServiceusageV1Service
include Google::Apis::Core::Hashable
# The configuration of the service.
# Corresponds to the JSON property `config`
# @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1ServiceConfig]
attr_accessor :config
# The resource name of the consumer and service.
# A valid name would be:
# - projects/123/services/serviceusage.googleapis.com
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The resource name of the consumer.
# A valid name would be:
# - projects/123
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
# Whether or not the service has been enabled for use by the consumer.
# 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)
@config = args[:config] if args.key?(:config)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@state = args[:state] if args.key?(:state)
end
end
# The configuration of the service.
class GoogleApiServiceusageV1ServiceConfig
include Google::Apis::Core::Hashable
# A list of API interfaces exported by this service. Contains only the names,
# versions, and method names of the interfaces.
# Corresponds to the JSON property `apis`
# @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
attr_accessor :apis
# `Authentication` defines the authentication configuration for an API.
# Example for an API targeted for external use:
# name: calendar.googleapis.com
# authentication:
# providers:
# - id: google_calendar_auth
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
# issuer: https://securetoken.google.com
# rules:
# - selector: "*"
# requirements:
# provider_id: google_calendar_auth
# Corresponds to the JSON property `authentication`
# @return [Google::Apis::ServiceusageV1beta1::Authentication]
attr_accessor :authentication
# `Documentation` provides the information for describing a service.
# Example:
# <pre><code>documentation:
# summary: >
# The Google Calendar API gives access
# to most calendar features.
# pages:
# - name: Overview
# content: &#40;== include google/foo/overview.md ==&#41;
# - name: Tutorial
# content: &#40;== include google/foo/tutorial.md ==&#41;
# subpages;
# - name: Java
# content: &#40;== include google/foo/tutorial_java.md ==&#41;
# rules:
# - selector: google.calendar.Calendar.Get
# description: >
# ...
# - selector: google.calendar.Calendar.Put
# description: >
# ...
# </code></pre>
# Documentation is provided in markdown syntax. In addition to
# standard markdown features, definition lists, tables and fenced
# code blocks are supported. Section headers can be provided and are
# interpreted relative to the section nesting of the context where
# a documentation fragment is embedded.
# Documentation from the IDL is merged with documentation defined
# via the config at normalization time, where documentation provided
# by config rules overrides IDL provided.
# A number of constructs specific to the API platform are supported
# in documentation text.
# In order to reference a proto element, the following
# notation can be used:
# <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
# To override the display text used for the link, this can be used:
# <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
# Text can be excluded from doc using the following notation:
# <pre><code>&#40;-- internal comment --&#41;</code></pre>
# A few directives are available in documentation. Note that
# directives must appear on a single line to be properly
# identified. The `include` directive includes a markdown file from
# an external source:
# <pre><code>&#40;== include path/to/file ==&#41;</code></pre>
# The `resource_for` directive marks a message to be the resource of
# a collection in REST view. If it is not specified, tools attempt
# to infer the resource from the operations in a collection:
# <pre><code>&#40;== resource_for v1.shelves.books ==&#41;</code></pre>
# The directive `suppress_warning` does not directly affect documentation
# and is documented together with service config validation.
# Corresponds to the JSON property `documentation`
# @return [Google::Apis::ServiceusageV1beta1::Documentation]
attr_accessor :documentation
# Configuration for network endpoints. Contains only the names and aliases
# of the endpoints.
# Corresponds to the JSON property `endpoints`
# @return [Array<Google::Apis::ServiceusageV1beta1::Endpoint>]
attr_accessor :endpoints
# The DNS address at which this service is available.
# An example DNS address would be:
# `calendar.googleapis.com`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Quota configuration helps to achieve fairness and budgeting in service
# usage.
# The quota configuration works this way:
# - The service configuration defines a set of metrics.
# - For API calls, the quota.metric_rules maps methods to metrics with
# corresponding costs.
# - The quota.limits defines limits on the metrics, which will be used for
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects
# values:
# STANDARD: 10000
# # The metric rules bind all methods to the read_calls metric,
# # except for the UpdateBook and DeleteBook methods. These two methods
# # are mapped to the write_calls metric, with the UpdateBook method
# # consuming at twice rate as the DeleteBook method.
# metric_rules:
# - selector: "*"
# metric_costs:
# library.googleapis.com/read_calls: 1
# - selector: google.example.library.v1.LibraryService.UpdateBook
# metric_costs:
# library.googleapis.com/write_calls: 2
# - selector: google.example.library.v1.LibraryService.DeleteBook
# metric_costs:
# library.googleapis.com/write_calls: 1
# Corresponding Metric definition:
# metrics:
# - name: library.googleapis.com/read_calls
# display_name: Read requests
# metric_kind: DELTA
# value_type: INT64
# - name: library.googleapis.com/write_calls
# display_name: Write requests
# metric_kind: DELTA
# value_type: INT64
# Corresponds to the JSON property `quota`
# @return [Google::Apis::ServiceusageV1beta1::Quota]
attr_accessor :quota
# The product title for this service.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
# Configuration controlling usage of a service.
# Corresponds to the JSON property `usage`
# @return [Google::Apis::ServiceusageV1beta1::Usage]
attr_accessor :usage
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@apis = args[:apis] if args.key?(:apis)
@authentication = args[:authentication] if args.key?(:authentication)
@documentation = args[:documentation] if args.key?(:documentation)
@endpoints = args[:endpoints] if args.key?(:endpoints)
@name = args[:name] if args.key?(:name)
@quota = args[:quota] if args.key?(:quota)
@title = args[:title] if args.key?(:title)
@usage = args[:usage] if args.key?(:usage)
end
end
# Defines the HTTP configuration for an API service. It contains a list of # Defines the HTTP configuration for an API service. It contains a list of
# HttpRule, each specifying the mapping of an RPC method # HttpRule, each specifying the mapping of an RPC method
# to one or more HTTP REST API methods. # to one or more HTTP REST API methods.

View File

@ -82,6 +82,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class BatchEnableServicesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Billing class Billing
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -142,6 +148,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DisableServiceResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Documentation class Documentation
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -154,12 +166,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class EnableFailure
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EnableServiceRequest class EnableServiceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class EnableServiceResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Endpoint class Endpoint
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -196,6 +220,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleApiServiceusageV1Service
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleApiServiceusageV1ServiceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Http class Http
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -512,6 +548,16 @@ module Google
end end
end end
class BatchEnableServicesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :failures, as: 'failures', class: Google::Apis::ServiceusageV1beta1::EnableFailure, decorator: Google::Apis::ServiceusageV1beta1::EnableFailure::Representation
collection :services, as: 'services', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service::Representation
end
end
class Billing class Billing
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -592,6 +638,14 @@ module Google
end end
end end
class DisableServiceResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :service, as: 'service', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service::Representation
end
end
class Documentation class Documentation
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -614,12 +668,28 @@ module Google
end end
end end
class EnableFailure
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error_message, as: 'errorMessage'
property :service_id, as: 'serviceId'
end
end
class EnableServiceRequest class EnableServiceRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
end end
end end
class EnableServiceResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :service, as: 'service', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service::Representation
end
end
class Endpoint class Endpoint
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -737,6 +807,37 @@ module Google
end end
end end
class GoogleApiServiceusageV1Service
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :config, as: 'config', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1ServiceConfig, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1ServiceConfig::Representation
property :name, as: 'name'
property :parent, as: 'parent'
property :state, as: 'state'
end
end
class GoogleApiServiceusageV1ServiceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :apis, as: 'apis', class: Google::Apis::ServiceusageV1beta1::Api, decorator: Google::Apis::ServiceusageV1beta1::Api::Representation
property :authentication, as: 'authentication', class: Google::Apis::ServiceusageV1beta1::Authentication, decorator: Google::Apis::ServiceusageV1beta1::Authentication::Representation
property :documentation, as: 'documentation', class: Google::Apis::ServiceusageV1beta1::Documentation, decorator: Google::Apis::ServiceusageV1beta1::Documentation::Representation
collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceusageV1beta1::Endpoint, decorator: Google::Apis::ServiceusageV1beta1::Endpoint::Representation
property :name, as: 'name'
property :quota, as: 'quota', class: Google::Apis::ServiceusageV1beta1::Quota, decorator: Google::Apis::ServiceusageV1beta1::Quota::Representation
property :title, as: 'title'
property :usage, as: 'usage', class: Google::Apis::ServiceusageV1beta1::Usage, decorator: Google::Apis::ServiceusageV1beta1::Usage::Representation
end
end
class Http class Http
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation