Autogenerated update (2018-09-02)

Update:
- redis_v1beta1
This commit is contained in:
Google APIs 2018-09-02 00:36:28 +00:00
parent d3debab5f6
commit 9047fc56d6
10 changed files with 549 additions and 372 deletions

View File

@ -19765,6 +19765,8 @@
"/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
"/compute:alpha/NetworksRemovePeeringRequest/name": name "/compute:alpha/NetworksRemovePeeringRequest/name": name
"/compute:alpha/NetworksUpdatePeeringRequest": networks_update_peering_request
"/compute:alpha/NetworksUpdatePeeringRequest/networkPeering": network_peering
"/compute:alpha/NodeGroup": node_group "/compute:alpha/NodeGroup": node_group
"/compute:alpha/NodeGroup/creationTimestamp": creation_timestamp "/compute:alpha/NodeGroup/creationTimestamp": creation_timestamp
"/compute:alpha/NodeGroup/description": description "/compute:alpha/NodeGroup/description": description
@ -19812,6 +19814,7 @@
"/compute:alpha/NodeGroupNode/instances/instance": instance "/compute:alpha/NodeGroupNode/instances/instance": instance
"/compute:alpha/NodeGroupNode/name": name "/compute:alpha/NodeGroupNode/name": name
"/compute:alpha/NodeGroupNode/nodeType": node_type "/compute:alpha/NodeGroupNode/nodeType": node_type
"/compute:alpha/NodeGroupNode/serverBinding": server_binding
"/compute:alpha/NodeGroupNode/status": status "/compute:alpha/NodeGroupNode/status": status
"/compute:alpha/NodeGroupsAddNodesRequest": node_groups_add_nodes_request "/compute:alpha/NodeGroupsAddNodesRequest": node_groups_add_nodes_request
"/compute:alpha/NodeGroupsAddNodesRequest/additionalNodeCount": additional_node_count "/compute:alpha/NodeGroupsAddNodesRequest/additionalNodeCount": additional_node_count
@ -19858,6 +19861,7 @@
"/compute:alpha/NodeTemplate/nodeTypeFlexibility": node_type_flexibility "/compute:alpha/NodeTemplate/nodeTypeFlexibility": node_type_flexibility
"/compute:alpha/NodeTemplate/region": region "/compute:alpha/NodeTemplate/region": region
"/compute:alpha/NodeTemplate/selfLink": self_link "/compute:alpha/NodeTemplate/selfLink": self_link
"/compute:alpha/NodeTemplate/serverBinding": server_binding
"/compute:alpha/NodeTemplate/status": status "/compute:alpha/NodeTemplate/status": status
"/compute:alpha/NodeTemplate/statusMessage": status_message "/compute:alpha/NodeTemplate/statusMessage": status_message
"/compute:alpha/NodeTemplateAggregatedList": node_template_aggregated_list "/compute:alpha/NodeTemplateAggregatedList": node_template_aggregated_list
@ -20343,6 +20347,21 @@
"/compute:alpha/ResourcePolicyHourlyCycle/duration": duration "/compute:alpha/ResourcePolicyHourlyCycle/duration": duration
"/compute:alpha/ResourcePolicyHourlyCycle/hoursInCycle": hours_in_cycle "/compute:alpha/ResourcePolicyHourlyCycle/hoursInCycle": hours_in_cycle
"/compute:alpha/ResourcePolicyHourlyCycle/startTime": start_time "/compute:alpha/ResourcePolicyHourlyCycle/startTime": start_time
"/compute:alpha/ResourcePolicyList": resource_policy_list
"/compute:alpha/ResourcePolicyList/etag": etag
"/compute:alpha/ResourcePolicyList/id": id
"/compute:alpha/ResourcePolicyList/items": items
"/compute:alpha/ResourcePolicyList/items/item": item
"/compute:alpha/ResourcePolicyList/kind": kind
"/compute:alpha/ResourcePolicyList/nextPageToken": next_page_token
"/compute:alpha/ResourcePolicyList/selfLink": self_link
"/compute:alpha/ResourcePolicyList/warning": warning
"/compute:alpha/ResourcePolicyList/warning/code": code
"/compute:alpha/ResourcePolicyList/warning/data": data
"/compute:alpha/ResourcePolicyList/warning/data/datum": datum
"/compute:alpha/ResourcePolicyList/warning/data/datum/key": key
"/compute:alpha/ResourcePolicyList/warning/data/datum/value": value
"/compute:alpha/ResourcePolicyList/warning/message": message
"/compute:alpha/ResourcePolicyVmMaintenancePolicy": resource_policy_vm_maintenance_policy "/compute:alpha/ResourcePolicyVmMaintenancePolicy": resource_policy_vm_maintenance_policy
"/compute:alpha/ResourcePolicyVmMaintenancePolicy/maintenanceEnvironment": maintenance_environment "/compute:alpha/ResourcePolicyVmMaintenancePolicy/maintenanceEnvironment": maintenance_environment
"/compute:alpha/ResourcePolicyVmMaintenancePolicy/maintenanceWindow": maintenance_window "/compute:alpha/ResourcePolicyVmMaintenancePolicy/maintenanceWindow": maintenance_window
@ -20667,6 +20686,8 @@
"/compute:alpha/SerialPortOutput/next": next "/compute:alpha/SerialPortOutput/next": next
"/compute:alpha/SerialPortOutput/selfLink": self_link "/compute:alpha/SerialPortOutput/selfLink": self_link
"/compute:alpha/SerialPortOutput/start": start "/compute:alpha/SerialPortOutput/start": start
"/compute:alpha/ServerBinding": server_binding
"/compute:alpha/ServerBinding/type": type
"/compute:alpha/ServiceAccount": service_account "/compute:alpha/ServiceAccount": service_account
"/compute:alpha/ServiceAccount/email": email "/compute:alpha/ServiceAccount/email": email
"/compute:alpha/ServiceAccount/scopes": scopes "/compute:alpha/ServiceAccount/scopes": scopes
@ -22946,6 +22967,10 @@
"/compute:alpha/compute.networks.testIamPermissions": test_network_iam_permissions "/compute:alpha/compute.networks.testIamPermissions": test_network_iam_permissions
"/compute:alpha/compute.networks.testIamPermissions/project": project "/compute:alpha/compute.networks.testIamPermissions/project": project
"/compute:alpha/compute.networks.testIamPermissions/resource": resource "/compute:alpha/compute.networks.testIamPermissions/resource": resource
"/compute:alpha/compute.networks.updatePeering": update_network_peering
"/compute:alpha/compute.networks.updatePeering/network": network
"/compute:alpha/compute.networks.updatePeering/project": project
"/compute:alpha/compute.networks.updatePeering/requestId": request_id
"/compute:alpha/compute.nodeGroups.addNodes": add_node_group_nodes "/compute:alpha/compute.nodeGroups.addNodes": add_node_group_nodes
"/compute:alpha/compute.nodeGroups.addNodes/nodeGroup": node_group "/compute:alpha/compute.nodeGroups.addNodes/nodeGroup": node_group
"/compute:alpha/compute.nodeGroups.addNodes/project": project "/compute:alpha/compute.nodeGroups.addNodes/project": project
@ -26524,6 +26549,21 @@
"/compute:beta/ResourcePolicyHourlyCycle/duration": duration "/compute:beta/ResourcePolicyHourlyCycle/duration": duration
"/compute:beta/ResourcePolicyHourlyCycle/hoursInCycle": hours_in_cycle "/compute:beta/ResourcePolicyHourlyCycle/hoursInCycle": hours_in_cycle
"/compute:beta/ResourcePolicyHourlyCycle/startTime": start_time "/compute:beta/ResourcePolicyHourlyCycle/startTime": start_time
"/compute:beta/ResourcePolicyList": resource_policy_list
"/compute:beta/ResourcePolicyList/etag": etag
"/compute:beta/ResourcePolicyList/id": id
"/compute:beta/ResourcePolicyList/items": items
"/compute:beta/ResourcePolicyList/items/item": item
"/compute:beta/ResourcePolicyList/kind": kind
"/compute:beta/ResourcePolicyList/nextPageToken": next_page_token
"/compute:beta/ResourcePolicyList/selfLink": self_link
"/compute:beta/ResourcePolicyList/warning": warning
"/compute:beta/ResourcePolicyList/warning/code": code
"/compute:beta/ResourcePolicyList/warning/data": data
"/compute:beta/ResourcePolicyList/warning/data/datum": datum
"/compute:beta/ResourcePolicyList/warning/data/datum/key": key
"/compute:beta/ResourcePolicyList/warning/data/datum/value": value
"/compute:beta/ResourcePolicyList/warning/message": message
"/compute:beta/ResourcePolicyWeeklyCycle": resource_policy_weekly_cycle "/compute:beta/ResourcePolicyWeeklyCycle": resource_policy_weekly_cycle
"/compute:beta/ResourcePolicyWeeklyCycle/dayOfWeeks": day_of_weeks "/compute:beta/ResourcePolicyWeeklyCycle/dayOfWeeks": day_of_weeks
"/compute:beta/ResourcePolicyWeeklyCycle/dayOfWeeks/day_of_week": day_of_week "/compute:beta/ResourcePolicyWeeklyCycle/dayOfWeeks/day_of_week": day_of_week
@ -73498,6 +73538,7 @@
"/redis:v1beta1/Instance/locationId": location_id "/redis:v1beta1/Instance/locationId": location_id
"/redis:v1beta1/Instance/memorySizeGb": memory_size_gb "/redis:v1beta1/Instance/memorySizeGb": memory_size_gb
"/redis:v1beta1/Instance/name": name "/redis:v1beta1/Instance/name": name
"/redis:v1beta1/Instance/persistenceIamIdentity": persistence_iam_identity
"/redis:v1beta1/Instance/port": port "/redis:v1beta1/Instance/port": port
"/redis:v1beta1/Instance/redisConfigs": redis_configs "/redis:v1beta1/Instance/redisConfigs": redis_configs
"/redis:v1beta1/Instance/redisConfigs/redis_config": redis_config "/redis:v1beta1/Instance/redisConfigs/redis_config": redis_config

View File

@ -13412,7 +13412,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
# A list of InternalIpOwner resources. # A list of InternalIpAddress resources.
# Corresponds to the JSON property `items` # Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeAlpha::InternalIpAddress>] # @return [Array<Google::Apis::ComputeAlpha::InternalIpAddress>]
attr_accessor :items attr_accessor :items
@ -16278,6 +16278,27 @@ module Google
end end
end end
#
class NetworksUpdatePeeringRequest
include Google::Apis::Core::Hashable
# A network peering attached to a network resource. The message includes the
# peering name, peer network, peering state, and a flag indicating whether
# Google Compute Engine should automatically create routes for the peering.
# Corresponds to the JSON property `networkPeering`
# @return [Google::Apis::ComputeAlpha::NetworkPeering]
attr_accessor :network_peering
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@network_peering = args[:network_peering] if args.key?(:network_peering)
end
end
# A NodeGroup resource. # A NodeGroup resource.
class NodeGroup class NodeGroup
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -16623,6 +16644,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :node_type attr_accessor :node_type
# Binding properties for the physical server.
# Corresponds to the JSON property `serverBinding`
# @return [Google::Apis::ComputeAlpha::ServerBinding]
attr_accessor :server_binding
# #
# Corresponds to the JSON property `status` # Corresponds to the JSON property `status`
# @return [String] # @return [String]
@ -16637,6 +16663,7 @@ module Google
@instances = args[:instances] if args.key?(:instances) @instances = args[:instances] if args.key?(:instances)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@node_type = args[:node_type] if args.key?(:node_type) @node_type = args[:node_type] if args.key?(:node_type)
@server_binding = args[:server_binding] if args.key?(:server_binding)
@status = args[:status] if args.key?(:status) @status = args[:status] if args.key?(:status)
end end
end end
@ -16975,6 +17002,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# Binding properties for the physical server.
# Corresponds to the JSON property `serverBinding`
# @return [Google::Apis::ComputeAlpha::ServerBinding]
attr_accessor :server_binding
# [Output Only] The status of the node template. One of the following values: # [Output Only] The status of the node template. One of the following values:
# CREATING, READY, and DELETING. # CREATING, READY, and DELETING.
# Corresponds to the JSON property `status` # Corresponds to the JSON property `status`
@ -17002,6 +17034,7 @@ module Google
@node_type_flexibility = args[:node_type_flexibility] if args.key?(:node_type_flexibility) @node_type_flexibility = args[:node_type_flexibility] if args.key?(:node_type_flexibility)
@region = args[:region] if args.key?(:region) @region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@server_binding = args[:server_binding] if args.key?(:server_binding)
@status = args[:status] if args.key?(:status) @status = args[:status] if args.key?(:status)
@status_message = args[:status_message] if args.key?(:status_message) @status_message = args[:status_message] if args.key?(:status_message)
end end
@ -20320,131 +20353,6 @@ module Google
end end
end end
#
class ResourcePoliciesList
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# [Output Only] A list of ResourcePolicy resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeAlpha::ResourcePolicy>]
attr_accessor :items
# [Output Only] Type of resource.Always compute#resourcePoliciesList for listsof
# resourcePolicies
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeAlpha::ResourcePoliciesList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@etag = args[:etag] if args.key?(:etag)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeAlpha::ResourcePoliciesList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# 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)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# #
class ResourcePoliciesScopedList class ResourcePoliciesScopedList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -20918,6 +20826,131 @@ module Google
end end
end end
#
class ResourcePolicyList
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# [Output Only] A list of ResourcePolicy resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeAlpha::ResourcePolicy>]
attr_accessor :items
# [Output Only] Type of resource.Always compute#resourcePoliciesList for listsof
# resourcePolicies
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeAlpha::ResourcePolicyList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@etag = args[:etag] if args.key?(:etag)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeAlpha::ResourcePolicyList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# 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)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# #
class ResourcePolicyVmMaintenancePolicy class ResourcePolicyVmMaintenancePolicy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -21904,14 +21937,6 @@ module Google
class RouterNat class RouterNat
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# [Output Only] A list of IPs allocated automatically by GCP for this Nat
# service. They will be raw IP strings like "179.12.26.133". They are ephemeral
# IPs allocated from the IP blocks managed by the NAT manager. This list can
# grow and shrink based on the number of VMs configured to use NAT.
# Corresponds to the JSON property `autoAllocatedNatIps`
# @return [Array<String>]
attr_accessor :auto_allocated_nat_ips
# Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. # Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
# Corresponds to the JSON property `icmpIdleTimeoutSec` # Corresponds to the JSON property `icmpIdleTimeoutSec`
# @return [Fixnum] # @return [Fixnum]
@ -21981,7 +22006,6 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@auto_allocated_nat_ips = args[:auto_allocated_nat_ips] if args.key?(:auto_allocated_nat_ips)
@icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec) @icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
@min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm) @min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@ -23141,6 +23165,25 @@ module Google
end end
end end
#
class ServerBinding
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@type = args[:type] if args.key?(:type)
end
end
# A service account. # A service account.
class ServiceAccount class ServiceAccount
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -2182,6 +2182,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class NetworksUpdatePeeringRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroup class NodeGroup
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2836,24 +2842,6 @@ 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 ResourcePoliciesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2932,6 +2920,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ResourcePolicyList
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 ResourcePolicyVmMaintenancePolicy class ResourcePolicyVmMaintenancePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3214,6 +3220,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ServerBinding
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ServiceAccount class ServiceAccount
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -8334,6 +8346,14 @@ module Google
end end
end end
class NetworksUpdatePeeringRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :network_peering, as: 'networkPeering', class: Google::Apis::ComputeAlpha::NetworkPeering, decorator: Google::Apis::ComputeAlpha::NetworkPeering::Representation
end
end
class NodeGroup class NodeGroup
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -8422,6 +8442,8 @@ module Google
collection :instances, as: 'instances' collection :instances, as: 'instances'
property :name, as: 'name' property :name, as: 'name'
property :node_type, as: 'nodeType' property :node_type, as: 'nodeType'
property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeAlpha::ServerBinding, decorator: Google::Apis::ComputeAlpha::ServerBinding::Representation
property :status, as: 'status' property :status, as: 'status'
end end
end end
@ -8521,6 +8543,8 @@ module Google
property :region, as: 'region' property :region, as: 'region'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeAlpha::ServerBinding, decorator: Google::Apis::ComputeAlpha::ServerBinding::Representation
property :status, as: 'status' property :status, as: 'status'
property :status_message, as: 'statusMessage' property :status_message, as: 'statusMessage'
end end
@ -9439,39 +9463,6 @@ 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 class ResourcePoliciesScopedList
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -9608,6 +9599,39 @@ module Google
end end
end end
class ResourcePolicyList
# @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::ResourcePolicyList::Warning, decorator: Google::Apis::ComputeAlpha::ResourcePolicyList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::ResourcePolicyList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::ResourcePolicyList::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 ResourcePolicyVmMaintenancePolicy class ResourcePolicyVmMaintenancePolicy
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -9852,7 +9876,6 @@ module Google
class RouterNat class RouterNat
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :auto_allocated_nat_ips, as: 'autoAllocatedNatIps'
property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec' property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
property :min_ports_per_vm, as: 'minPortsPerVm' property :min_ports_per_vm, as: 'minPortsPerVm'
property :name, as: 'name' property :name, as: 'name'
@ -10152,6 +10175,13 @@ module Google
end end
end end
class ServerBinding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
end
end
class ServiceAccount class ServiceAccount
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -14367,6 +14367,59 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the specified network peering with the data included in the request
# Only the following fields can be modified: NetworkPeering.export_custom_routes,
# and NetworkPeering.import_custom_routes
# @param [String] project
# Project ID for this request.
# @param [String] network
# Name of the network resource which the updated peering is belonging to.
# @param [Google::Apis::ComputeAlpha::NetworksUpdatePeeringRequest] networks_update_peering_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::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 update_network_peering(project, network, networks_update_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{project}/global/networks/{network}/updatePeering', options)
command.request_representation = Google::Apis::ComputeAlpha::NetworksUpdatePeeringRequest::Representation
command.request_object = networks_update_peering_request_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['network'] = network unless network.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Adds specified number of nodes to the node group. # Adds specified number of nodes to the node group.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -21768,18 +21821,18 @@ module Google
# Request-specific options # Request-specific options
# #
# @yield [result, err] Result & error if block supplied # @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::ResourcePoliciesList] parsed result object # @yieldparam result [Google::Apis::ComputeAlpha::ResourcePolicyList] parsed result object
# @yieldparam err [StandardError] error object if request failed # @yieldparam err [StandardError] error object if request failed
# #
# @return [Google::Apis::ComputeAlpha::ResourcePoliciesList] # @return [Google::Apis::ComputeAlpha::ResourcePolicyList]
# #
# @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_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def list_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies', options) command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies', options)
command.response_representation = Google::Apis::ComputeAlpha::ResourcePoliciesList::Representation command.response_representation = Google::Apis::ComputeAlpha::ResourcePolicyList::Representation
command.response_class = Google::Apis::ComputeAlpha::ResourcePoliciesList command.response_class = Google::Apis::ComputeAlpha::ResourcePolicyList
command.params['project'] = project unless project.nil? command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil? command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil? command.query['filter'] = filter unless filter.nil?

View File

@ -17634,131 +17634,6 @@ module Google
end end
end end
#
class ResourcePoliciesList
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# [Output Only] A list of ResourcePolicy resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeBeta::ResourcePolicy>]
attr_accessor :items
# [Output Only] Type of resource.Always compute#resourcePoliciesList for listsof
# resourcePolicies
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeBeta::ResourcePoliciesList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@etag = args[:etag] if args.key?(:etag)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeBeta::ResourcePoliciesList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# 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)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# #
class ResourcePoliciesScopedList class ResourcePoliciesScopedList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -18226,6 +18101,131 @@ module Google
end end
end end
#
class ResourcePolicyList
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# [Output Only] A list of ResourcePolicy resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeBeta::ResourcePolicy>]
attr_accessor :items
# [Output Only] Type of resource.Always compute#resourcePoliciesList for listsof
# resourcePolicies
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeBeta::ResourcePolicyList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@etag = args[:etag] if args.key?(:etag)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeBeta::ResourcePolicyList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# 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)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# Time window specified for weekly operations. # Time window specified for weekly operations.
class ResourcePolicyWeeklyCycle class ResourcePolicyWeeklyCycle
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -2422,24 +2422,6 @@ 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 ResourcePoliciesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2518,6 +2500,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ResourcePolicyList
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 ResourcePolicyWeeklyCycle class ResourcePolicyWeeklyCycle
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -7995,39 +7995,6 @@ 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::ComputeBeta::ResourcePolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicy::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ResourcePoliciesList::Warning, decorator: Google::Apis::ComputeBeta::ResourcePoliciesList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::ResourcePoliciesList::Warning::Datum, decorator: Google::Apis::ComputeBeta::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 class ResourcePoliciesScopedList
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -8162,6 +8129,39 @@ module Google
end end
end end
class ResourcePolicyList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeBeta::ResourcePolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicy::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ResourcePolicyList::Warning, decorator: Google::Apis::ComputeBeta::ResourcePolicyList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::ResourcePolicyList::Warning::Datum, decorator: Google::Apis::ComputeBeta::ResourcePolicyList::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 ResourcePolicyWeeklyCycle class ResourcePolicyWeeklyCycle
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -17415,18 +17415,18 @@ module Google
# Request-specific options # Request-specific options
# #
# @yield [result, err] Result & error if block supplied # @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::ResourcePoliciesList] parsed result object # @yieldparam result [Google::Apis::ComputeBeta::ResourcePolicyList] parsed result object
# @yieldparam err [StandardError] error object if request failed # @yieldparam err [StandardError] error object if request failed
# #
# @return [Google::Apis::ComputeBeta::ResourcePoliciesList] # @return [Google::Apis::ComputeBeta::ResourcePolicyList]
# #
# @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_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def list_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies', options) command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies', options)
command.response_representation = Google::Apis::ComputeBeta::ResourcePoliciesList::Representation command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyList::Representation
command.response_class = Google::Apis::ComputeBeta::ResourcePoliciesList command.response_class = Google::Apis::ComputeBeta::ResourcePolicyList
command.params['project'] = project unless project.nil? command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil? command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil? command.query['filter'] = filter unless filter.nil?

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/memorystore/docs/redis/ # @see https://cloud.google.com/memorystore/docs/redis/
module RedisV1beta1 module RedisV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20180816' REVISION = '20180830'
# 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

@ -214,6 +214,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Output only. IAM identity used by import / export operations to transfer
# data to/from GCS. Format is "serviceAccount:<service_account_email>". The
# value may change over time for a given instance so should be checked before
# each import/export operation.
# Corresponds to the JSON property `persistenceIamIdentity`
# @return [String]
attr_accessor :persistence_iam_identity
# Output only. The port number of the exposed Redis endpoint. # Output only. The port number of the exposed Redis endpoint.
# Corresponds to the JSON property `port` # Corresponds to the JSON property `port`
# @return [Fixnum] # @return [Fixnum]
@ -276,6 +284,7 @@ module Google
@location_id = args[:location_id] if args.key?(:location_id) @location_id = args[:location_id] if args.key?(:location_id)
@memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb) @memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@persistence_iam_identity = args[:persistence_iam_identity] if args.key?(:persistence_iam_identity)
@port = args[:port] if args.key?(:port) @port = args[:port] if args.key?(:port)
@redis_configs = args[:redis_configs] if args.key?(:redis_configs) @redis_configs = args[:redis_configs] if args.key?(:redis_configs)
@redis_version = args[:redis_version] if args.key?(:redis_version) @redis_version = args[:redis_version] if args.key?(:redis_version)

View File

@ -134,6 +134,7 @@ module Google
property :location_id, as: 'locationId' property :location_id, as: 'locationId'
property :memory_size_gb, as: 'memorySizeGb' property :memory_size_gb, as: 'memorySizeGb'
property :name, as: 'name' property :name, as: 'name'
property :persistence_iam_identity, as: 'persistenceIamIdentity'
property :port, as: 'port' property :port, as: 'port'
hash :redis_configs, as: 'redisConfigs' hash :redis_configs, as: 'redisConfigs'
property :redis_version, as: 'redisVersion' property :redis_version, as: 'redisVersion'