Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists all Membership RBACRoleBindings.
Retrieves the next page of results.
close()
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists all Membership RBACRoleBindings.
Args:
parent: string, Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/memberships/*`. (required)
pageSize: integer, Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.
pageToken: string, Optional. Token returned by previous call to `ListMembershipRBACRoleBindings` which specifies the position in the list from where to continue listing the resources.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # List of Membership RBACRoleBindings.
"nextPageToken": "A String", # A token to request the next page of resources from the `ListMembershipRBACRoleBindings` method. The value of an empty string means that there are no more resources to return.
"rbacrolebindings": [ # The list of Membership RBACRoleBindings.
{ # RBACRoleBinding represents a rbacrolebinding across the Fleet
"createTime": "A String", # Output only. When the rbacrolebinding was created.
"deleteTime": "A String", # Output only. When the rbacrolebinding was deleted.
"group": "A String", # group is the group, as seen by the kubernetes cluster.
"labels": { # Optional. Labels for this RBACRolebinding.
"a_key": "A String",
},
"name": "A String", # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
"role": { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
"predefinedRole": "A String", # predefined_role is the Kubernetes default role to use
},
"state": { # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. # Output only. State of the rbacrolebinding resource.
"code": "A String", # Output only. The current state of the rbacrolebinding resource.
},
"uid": "A String", # Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
"updateTime": "A String", # Output only. When the rbacrolebinding was last updated.
"user": "A String", # user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
},
],
"unreachable": [ # List of locations that could not be reached while fetching this list.
"A String",
],
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.